handle *args arguments the right way.
This commit is contained in:
1 parent
b24178b275
commit
f4a508ac53
2 files changed
+22
-11
No files matched your search
@@ -191,3 +191,9 @@ def literal_eval(string):
|
||||
if re.match('[uU][\'"]', string):
|
||||
string = string[1:]
|
||||
return ast.literal_eval(string)
|
||||
|
||||
|
||||
try:
|
||||
from itertools import zip_longest
|
||||
except ImportError:
|
||||
from itertools import izip_longest as zip_longest # Python 2
|
||||
Reference in new issue
Block a user