1
0
forked from VimPlug/jedi

PEP8 whitespace fixes

This commit is contained in:
Laurens Van Houtven
2013-07-10 18:55:48 +02:00
parent cdc41128b4
commit ad932815b9
5 changed files with 20 additions and 18 deletions

View File

@@ -254,8 +254,8 @@ def _generate_code(scope, mixin_funcs={}, depth=0):
code += get_doc(scope)
names = set(dir(scope)) - set(['__file__', '__name__', '__doc__',
'__path__', '__package__']) \
| set(['mro'])
'__path__', '__package__']) \
| set(['mro'])
classes, funcs, stmts, members = get_scope_objects(names)
@@ -337,11 +337,11 @@ def _generate_code(scope, mixin_funcs={}, depth=0):
code += '%s = %s\n' % (name, value)
if depth == 0:
#with open('writeout.py', 'w') as f:
# with open('writeout.py', 'w') as f:
# f.write(code)
#import sys
#sys.stdout.write(code)
#exit()
# import sys
# sys.stdout.write(code)
# exit()
pass
return code