Make coordinates mandatory in Point constructor
[linpy.git] / pypol / coordinates.py
index 7923648..f76b30a 100644 (file)
@@ -74,7 +74,7 @@ class Point(Coordinates):
     This class represents points in space.
     """
 
     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)
         if isinstance(coordinates, Mapping):
             coordinates = coordinates.items()
         self = object().__new__(cls)