blob: 44defd19e240bb67847a3fbc363a37ad5c07c2fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class Point: # [multiple-constructor-doc]
"""Represents a point in the xy-coordinate plane.
:param x: coordinate
:param y: coordinate
"""
def __init__(self, x, y):
"""Represents a point in the xy-coordinate plane.
:param x: coordinate
:param y: coordinate
"""
self.x = x
self.y = y
|