Files
codeql/python/ql/src/Classes/WrongNameForArgumentInClassInstantiation.py
2018-11-19 15:10:42 +00:00

7 lines
161 B
Python

class Point(object):
def __init__(self, x, y):
self.x = x
self.y = y
p = Point(x=1, yy=2) # TypeError: 'yy' is not a valid keyword argument