Skip to content

Commit 6d31d46

Browse files
committed
Add a fallthrough sourcecodenotfound message
1 parent 42f3e54 commit 6d31d46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bpython/repl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,7 @@ def get_source_of_current_name(self):
594594
current name in the current input line. Throw `SourceNotFound` if the
595595
source cannot be found."""
596596
obj = self.current_func
597+
msg = "Unexpected error retrieving source code for %s" % (obj,)
597598
try:
598599
if obj is None:
599600
line = self.current_line

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy