mirror of
https://github.com/github/codeql.git
synced 2025-12-23 12:16:33 +01:00
8 lines
189 B
Python
8 lines
189 B
Python
class Point(object):
|
|
def __init__(self, x, y):
|
|
self.x = x
|
|
self.y = y
|
|
|
|
p = Point(1) # TypeError: too few arguments
|
|
p = Point(1,2,3) # TypeError: too many arguments
|