Skip to content

Commit 0ada13d

Browse files
committed
Provide more type annotations
1 parent cec0678 commit 0ada13d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/repl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,12 +417,12 @@ class Repl:
417417

418418
@property
419419
@abstractmethod
420-
def current_line(self):
420+
def current_line(self) -> str:
421421
pass
422422

423423
@property
424424
@abstractmethod
425-
def cursor_offset(self):
425+
def cursor_offset(self) -> int:
426426
pass
427427

428428
@abstractmethod

0 commit comments

Comments
 (0)