From dc2aa37ea8bfc55dffd019bc95e3682af2b767a5 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 3 Aug 2011 08:47:30 -0600 Subject: Take *args and **kwargs in Cylinder(). --- libdimension-python/dimension.pyx | 6 ++++-- 1 file 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.""" -- cgit v1.2.3