mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-11 09:08:43 +08:00
statements on strings and other builtins are now working
This commit is contained in:
+7
-4
@@ -124,10 +124,13 @@ class Parser(object):
|
||||
value = '%s.%s' % (mod, value)
|
||||
code += '%s = %s\n' % (name, value)
|
||||
|
||||
if depth == 10:
|
||||
import sys
|
||||
sys.stdout.write(code)
|
||||
exit()
|
||||
if depth == 0:
|
||||
#with open('writeout.py', 'w') as f:
|
||||
# f.write(code)
|
||||
#import sys
|
||||
#sys.stdout.write(code)
|
||||
#exit()
|
||||
pass
|
||||
return code
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user