running lib2to3.fixes.fix_apply
This commit is contained in:
@@ -722,7 +722,7 @@ def TEXT( *params, **kwargs ) :
|
|||||||
return Text( params[ 0 ], text_props )
|
return Text( params[ 0 ], text_props )
|
||||||
|
|
||||||
result = Inline( text_props )
|
result = Inline( text_props )
|
||||||
apply( result.append, params )
|
result.append(*params)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def B( *params ) :
|
def B( *params ) :
|
||||||
@@ -732,7 +732,7 @@ def B( *params ) :
|
|||||||
return Text( params[ 0 ], text_props )
|
return Text( params[ 0 ], text_props )
|
||||||
|
|
||||||
result = Inline( text_props )
|
result = Inline( text_props )
|
||||||
apply( result.append, params )
|
result.append(*params)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def I( *params ) :
|
def I( *params ) :
|
||||||
@@ -742,7 +742,7 @@ def I( *params ) :
|
|||||||
return Text( params[ 0 ], text_props )
|
return Text( params[ 0 ], text_props )
|
||||||
|
|
||||||
result = Inline( text_props )
|
result = Inline( text_props )
|
||||||
apply( result.append, params )
|
result.append(*params)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def U( *params ) :
|
def U( *params ) :
|
||||||
@@ -752,6 +752,6 @@ def U( *params ) :
|
|||||||
return Text( params[ 0 ], text_props )
|
return Text( params[ 0 ], text_props )
|
||||||
|
|
||||||
result = Inline( text_props )
|
result = Inline( text_props )
|
||||||
apply( result.append, params )
|
result.append(*params)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|||||||
@@ -427,7 +427,7 @@ class ParagraphPropertySet :
|
|||||||
self.SetSpaceAfter ( space_after )
|
self.SetSpaceAfter ( space_after )
|
||||||
|
|
||||||
self.Tabs = []
|
self.Tabs = []
|
||||||
if tabs : apply( self.SetTabs, tabs )
|
if tabs : self.SetTabs(*tabs)
|
||||||
|
|
||||||
self.SetFirstLineIndent( first_line_indent or None )
|
self.SetFirstLineIndent( first_line_indent or None )
|
||||||
self.SetLeftIndent ( left_indent or None )
|
self.SetLeftIndent ( left_indent or None )
|
||||||
|
|||||||
@@ -413,7 +413,7 @@ class Qdb(bdb.Bdb):
|
|||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
if f:
|
if f:
|
||||||
argspec = apply(inspect.formatargspec, inspect.getargspec(f))
|
argspec = inspect.formatargspec(*inspect.getargspec(f))
|
||||||
doc = ''
|
doc = ''
|
||||||
if callable(obj):
|
if callable(obj):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user