projects
/
linpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make coordinates mandatory in Point constructor
[linpy.git]
/
pypol
/
coordinates.py
diff --git
a/pypol/coordinates.py
b/pypol/coordinates.py
index
7923648
..
f76b30a
100644
(file)
--- a/
pypol/coordinates.py
+++ b/
pypol/coordinates.py
@@
-74,7
+74,7
@@
class Point(Coordinates):
This class represents points in space.
"""
- def __new__(cls, coordinates
=None
):
+ def __new__(cls, coordinates):
if isinstance(coordinates, Mapping):
coordinates = coordinates.items()
self = object().__new__(cls)