1
0
forked from VimPlug/jedi

Fix namedtuple issues that were uncovered by the 'self' changes

This commit is contained in:
Dave Halter
2019-12-27 23:57:22 +01:00
parent cc136a2879
commit 3ec73f1da3
2 changed files with 2 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ class {typename}(tuple):
# These methods were added by Jedi.
# __new__ doesn't really work with Jedi. So adding this to nametuples seems
# like the easiest way.
def __init__(_cls, {arg_list}):
def __init__(self, {arg_list}):
'A helper function for namedtuple.'
self.__iterable = ({arg_list})