documentation work

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2008-04-29 22:25:24 +01:00
1 parent 21f2d54fd2
commit a01f1e4e04
9 files changed
+167 -163

No files matched your search

+3 -3
View File
@@ -235,12 +235,12 @@ class PyMetaclass(object):
"""
def __init__(self, name, parent_metaclass_expr, getsets=None):
"""
name -- name of the metaclass (should normally end with Meta)
parent_metaclass_expr -- C expression that should give a
@param name: name of the metaclass (should normally end with Meta)
@param parent_metaclass_expr: C expression that should give a
pointer to the parent metaclass
(should have a C type of
PyTypeObject*)
getsets -- name of a PyGetSetDef C array variable, or None
@param getsets: name of a PyGetSetDef C array variable, or None
"""
assert getsets is None or isinstance(getsets, PyGetSetDef)
assert isinstance(name, basestring)