Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
logilab-mtconverter
Commits
45e2f83f4daa
Commit
7c2ed18f
authored
Aug 02, 2014
by
Rémi Cardona
Browse files
[py3k] Tuple unpacking is now forbidden in function arguments
Related to #268148.
parent
4bca0f6ba081
Changes
1
Hide whitespace changes
Inline
Side-by-side
transforms/python.py
View file @
45e2f83f
...
...
@@ -70,8 +70,9 @@ class Parser:
msg
,
self
.
raw
[
self
.
lines
[
line
]:]))
self
.
out
.
write
(
'
\n
</pre>
\n
'
)
def
__call__
(
self
,
toktype
,
toktext
,
(
srow
,
scol
),
(
erow
,
ecol
)
,
line
):
def
__call__
(
self
,
toktype
,
toktext
,
sparams
,
_
,
line
):
"""Token handler"""
srow
,
scol
=
sparams
# calculate new positions
oldpos
=
self
.
pos
newpos
=
self
.
lines
[
srow
]
+
scol
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment