You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
More Python 3.4 CALL_FUNCTION_VAR
This commit is contained in:
Binary file not shown.
@@ -42,3 +42,8 @@ def __init__(self, cnf={}):
|
||||
cnf['title'], cnf['text'],
|
||||
cnf['bitmap'], cnf['default'],
|
||||
*cnf['strings'])
|
||||
|
||||
# From python 3.4.8 multiprocessing/context.py
|
||||
def Value(self, fn, typecode_or_type, *args, lock=True):
|
||||
return fn(typecode_or_type, *args, lock=lock,
|
||||
ctx=self.get_context())
|
||||
|
@@ -269,8 +269,8 @@ def customize_for_version(self, is_pypy, version):
|
||||
0, -2, (1, kwargs+1, ', '))
|
||||
else:
|
||||
template = ('%c(%C, *%c, %C)',
|
||||
0, -2, (1, kwargs+1, ', '),
|
||||
(kwargs+1, -2, ', '))
|
||||
0, (1, nargs+1, ', '),
|
||||
-2, (-2-kwargs, -2, ', '))
|
||||
self.template_engine(template, node)
|
||||
self.prune()
|
||||
|
||||
|
Reference in New Issue
Block a user