running lib2to3.fixes.fix_apply
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 )
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user