mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-04 10:43:47 +08:00
Modules are obviously not executable, but should not lead to traceback when executed
This commit is contained in:
1 parent
0e5b17be85
commit
df038d8f05
2 files changed
+6
-1
No files matched your search
@@ -295,6 +295,11 @@ __file__
|
||||
#? ['__file__']
|
||||
__file__
|
||||
|
||||
#? str()
|
||||
math.__file__
|
||||
# Should not lead to errors
|
||||
#?
|
||||
math()
|
||||
|
||||
# -----------------
|
||||
# with statements
|
||||
|
||||
Reference in new issue
Block a user