There was an error while loading. Please reload this page.
1 parent 5b1143e commit 2f9c8cfCopy full SHA for 2f9c8cf
1 file changed
bpython/repl.py
@@ -595,7 +595,7 @@ def get_source_of_current_name(self):
595
if obj is None:
596
line = self.current_line
597
if line == "":
598
- raise ValueError("Cannot get source of an empty string")
+ raise ValueError("Nothing to get source of")
599
if inspection.is_eval_safe_name(line):
600
obj = self.get_object(line)
601
try:
0 commit comments