pep8 formatting

This commit is contained in:
David Halter
2012-04-21 21:14:06 +02:00
parent 4feb8f5a3a
commit dccef451a2
5 changed files with 25 additions and 14 deletions

View File

@@ -54,7 +54,8 @@ class Parser(object):
self.sys_path.insert(0, self.path)
temp, sys.path = sys.path, self.sys_path
#print 'sypa', sys.path TODO reenable and check (stackoverflow ticket)
# TODO reenable and check (stackoverflow question - pylab builtins)
#print 'sypa', sys.path
exec 'import %s as module' % self.name in self._content
self.sys_path, sys.path = sys.path, temp
@@ -204,7 +205,7 @@ def parse_function_doc(func):
break
param_str = doc[start + 1:end]
# remove square brackets, which show an optional param ( in Python = None)
# remove square brackets, that show an optional param ( = None)
def change_options(m):
args = m.group(1).split(',')
for i, a in enumerate(args):