Files
python-uncompyle6/test/simple_source/bug35/04_call_function.py
rocky 892be78927 correct 3.5 CALL_FUNCTION_VAR handling
Sigh, 3.6 changes this so this fix is just for this version
2018-01-08 12:24:00 -05:00

13 lines
325 B
Python

# From sql/schema.py and 3.5 _strptime.py
# Note that kwargs comes before "positional" args
def tometadata(self, metadata, schema, Table, args, name=None):
table = Table(
name, metadata, schema=schema,
*args, **self.kwargs
)
return table
def _strptime_datetime(cls, args):
return cls(*args)