File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,11 @@ def _splitlines(text: str):
68
68
69
69
70
70
@overload
71
- def edit (text : str , edition : Edition ) -> str :
72
- ...
71
+ def edit (text : str , edition : Edition ) -> str : ...
73
72
74
73
75
74
@overload
76
- def edit (text : str , select : Selection , edition : Edition ) -> str :
77
- ...
75
+ def edit (text : str , select : Selection , edition : Edition ) -> str : ...
78
76
79
77
80
78
def edit (text , select , edition = None ):
Original file line number Diff line number Diff line change 19
19
20
20
class Selection (ABC ):
21
21
@abstractmethod
22
- def _select (self , lines : list [str ]) -> Iterator [slice ]:
23
- ...
22
+ def _select (self , lines : list [str ]) -> Iterator [slice ]: ...
24
23
25
24
@abstractmethod
26
- def __rshift__ (self : T , op : _Select ) -> T :
27
- ...
25
+ def __rshift__ (self : T , op : _Select ) -> T : ...
28
26
29
27
def enumerate (self , lines : list [str ]) -> Iterator [tuple [int , str ]]:
30
28
"""Iterate over the selected lines"""
You can’t perform that action at this time.
0 commit comments