running lib2to3.fixes.fix_apply

This commit is contained in:
ilvalle
2016-05-27 15:03:56 +02:00
parent 8d213a5b87
commit ec8ea53917
3 changed files with 6 additions and 6 deletions

View File

@@ -722,7 +722,7 @@ def TEXT( *params, **kwargs ) :
return Text( params[ 0 ], text_props )
result = Inline( text_props )
apply( result.append, params )
result.append(*params)
return result
def B( *params ) :
@@ -732,7 +732,7 @@ def B( *params ) :
return Text( params[ 0 ], text_props )
result = Inline( text_props )
apply( result.append, params )
result.append(*params)
return result
def I( *params ) :
@@ -742,7 +742,7 @@ def I( *params ) :
return Text( params[ 0 ], text_props )
result = Inline( text_props )
apply( result.append, params )
result.append(*params)
return result
def U( *params ) :
@@ -752,6 +752,6 @@ def U( *params ) :
return Text( params[ 0 ], text_props )
result = Inline( text_props )
apply( result.append, params )
result.append(*params)
return result

View File

@@ -427,7 +427,7 @@ class ParagraphPropertySet :
self.SetSpaceAfter ( space_after )
self.Tabs = []
if tabs : apply( self.SetTabs, tabs )
if tabs : self.SetTabs(*tabs)
self.SetFirstLineIndent( first_line_indent or None )
self.SetLeftIndent ( left_indent or None )

View File

@@ -413,7 +413,7 @@ class Qdb(bdb.Bdb):
except AttributeError:
pass
if f:
argspec = apply(inspect.formatargspec, inspect.getargspec(f))
argspec = inspect.formatargspec(*inspect.getargspec(f))
doc = ''
if callable(obj):
try: