mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 00:41:00 +01:00
more pep8
This commit is contained in:
parent
4837f3ab44
commit
4aeac8fb4e
2 changed files with 5 additions and 4 deletions
|
@ -606,8 +606,8 @@ class Inspector(object):
|
|||
if fname.endswith(('.so', '.dll', '.pyd')):
|
||||
binary_file = True
|
||||
elif fname.endswith('<string>'):
|
||||
fname = 'Dynamically generated function. '
|
||||
'No source code available.'
|
||||
fname = ('Dynamically generated function. '
|
||||
'No source code available.')
|
||||
out['file'] = fname
|
||||
|
||||
# Docstrings only in detail 0 mode, since source contains them (we
|
||||
|
|
|
@ -197,8 +197,9 @@ class Parser(object):
|
|||
'ampersand_shift_expr_list', 'shift_arith_expr_list',
|
||||
'op_factor_list', 'trailer_list', 'testlist_comp',
|
||||
'yield_expr_or_testlist_comp', 'dictorsetmaker',
|
||||
'comma_subscript_list', 'test', 'sliceop', 'comp_iter', 'yield_arg',
|
||||
'argument_comma_list', 'comma_argument_list', 'test_comma_list', )
|
||||
'comma_subscript_list', 'test', 'sliceop', 'comp_iter',
|
||||
'yield_arg', 'argument_comma_list', 'comma_argument_list',
|
||||
'test_comma_list', )
|
||||
for rule in opt_rules:
|
||||
self._opt_rule(rule)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue