Files
MINGW-packages/mingw-w64-python2-linecache2/fix-syntax-error.patch
J. Peter Mugaas 4d9ec2ac59 A bundle of python packages I was working on. These are checked in together since they depend upon eachother. (#4129)
contextlib2
linecache2
traceback2
unittest2
python-extras
fixtures
pyrsistent
subunit
testscenerios
testtools
2018-07-31 11:29:12 +03:00

27 lines
585 B
Diff

Description: Fix some Py2 syntax errors
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2015-07-08
--- python-linecache2-1.0.0.orig/linecache2/tests/inspect_fodder2.py
+++ python-linecache2-1.0.0/linecache2/tests/inspect_fodder2.py
@@ -99,15 +99,15 @@ def f():
method_in_dynamic_class = f().g
#line 101
-def keyworded(*arg1, arg2=1):
+def keyworded(arg1, arg2=1):
pass
#line 105
-def annotated(arg1: list):
+def annotated(arg1):
pass
#line 109
-def keyword_only_arg(*, arg):
+def keyword_only_arg(arg):
pass
from functools import wraps