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.pyx6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdimension-python/dimension.pyx b/libdimension-python/dimension.pyx
index a8f9cd8..996e288 100644
--- a/libdimension-python/dimension.pyx
+++ b/libdimension-python/dimension.pyx
@@ -1049,7 +1049,8 @@ cdef class Cone(Object):
cdef class Cylinder(Cone):
"""A cylinder."""
- def __init__(self, bottom, top, double radius, bool open not None = False):
+ def __init__(self, bottom, top, double radius, bool open not None = False,
+ *args, **kwargs):
"""
Create a Cylinder.
@@ -1064,7 +1065,8 @@ cdef class Cylinder(Cone):
Cone.__init__(self,
bottom = bottom, bottom_radius = radius,
top = top, top_radius = radius,
- open = open)
+ open = open,
+ *args, **kwargs)
cdef class Torus(Object):
"""A torus."""