Initia QtCore port to python3.
This commit is contained in:
parent
a2cb6fe025
commit
1e29ab6592
52 changed files with 380 additions and 286 deletions
|
|
@ -1,13 +1,13 @@
|
|||
|
||||
'''Helper metaclass do 'decorate' docstrings from base test case classes'''
|
||||
|
||||
import new
|
||||
import types
|
||||
|
||||
|
||||
def copy_func(func):
|
||||
'''Helper function to copy a function object (except docstring)'''
|
||||
return new.function(func.func_code, func.func_globals, func.func_name,
|
||||
func.func_defaults, func.func_closure)
|
||||
return types.FunctionType(func.func_code, func.func_globals, func.func_name,
|
||||
func.func_defaults, func.func_closure)
|
||||
|
||||
|
||||
class DocModifier(type):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue