summaryrefslogtreecommitdiffstats
path: root/libdimension-python/dimension.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension-python/dimension.pyx')
-rw-r--r--libdimension-python/dimension.pyx16
1 files changed, 8 insertions, 8 deletions
diff --git a/libdimension-python/dimension.pyx b/libdimension-python/dimension.pyx
index 1e79620..6a76974 100644
--- a/libdimension-python/dimension.pyx
+++ b/libdimension-python/dimension.pyx
@@ -1273,8 +1273,8 @@ cdef class Union(Object):
Additionally, Union() accepts any arguments that Object() accepts.
"""
- if len(objects) < 2:
- raise TypeError("expected a list of two or more Objects")
+ if len(objects) < 1:
+ raise TypeError("expected a list of one or more Objects")
cdef dmnsn_array *array = dmnsn_new_array(sizeof(dmnsn_object *))
cdef dmnsn_object *o
@@ -1302,8 +1302,8 @@ cdef class Intersection(Object):
Additionally, Intersection() accepts any arguments that Object() accepts.
"""
- if len(objects) < 2:
- raise TypeError("expected a list of two or more Objects")
+ if len(objects) < 1:
+ raise TypeError("expected a list of one or more Objects")
cdef dmnsn_object *o
@@ -1329,8 +1329,8 @@ cdef class Difference(Object):
Additionally, Difference() accepts any arguments that Object() accepts.
"""
- if len(objects) < 2:
- raise TypeError("expected a list of two or more Objects")
+ if len(objects) < 1:
+ raise TypeError("expected a list of one or more Objects")
cdef dmnsn_object *o
@@ -1356,8 +1356,8 @@ cdef class Merge(Object):
Additionally, Merge() accepts any arguments that Object() accepts.
"""
- if len(objects) < 2:
- raise TypeError("expected a list of two or more Objects")
+ if len(objects) < 1:
+ raise TypeError("expected a list of one or more Objects")
cdef dmnsn_object *o