X Tutup
Skip to content

Commit ca74c46

Browse files
lohmatajamlauter
authored andcommitted
Fix docstring for get_source_of_current_name to match the new behavior
1 parent 75e8e35 commit ca74c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ def get_args(self):
589589

590590
def get_source_of_current_name(self):
591591
"""Return the source code of the object which is bound to the
592-
current name in the current input line. Return `None` if the
592+
current name in the current input line. Throw exception if the
593593
source cannot be found."""
594594
obj = self.current_func
595595
if obj is None:

0 commit comments

Comments
 (0)
X Tutup