convert existing api docs to sphinx format
This commit is contained in:
1 parent
05fbece36e
commit
880a838eae
15 files changed
+249
-242
No files matched your search
@@ -8,22 +8,22 @@ class CppException(object):
|
||||
def __init__(self, name, parent=None, outer_class=None, custom_name=None,
|
||||
foreign_cpp_namespace=None, message_rvalue=None):
|
||||
"""
|
||||
@param name: exception class name
|
||||
@param parent: optional parent class wrapper
|
||||
:param name: exception class name
|
||||
:param parent: optional parent class wrapper
|
||||
|
||||
@param custom_name: an alternative name to give to this exception class
|
||||
:param custom_name: an alternative name to give to this exception class
|
||||
at python-side; if omitted, the name of the class in the
|
||||
python module will be the same name as the class in C++ (minus
|
||||
namespace).
|
||||
|
||||
@param foreign_cpp_namespace: if set, the class is assumed to
|
||||
:param foreign_cpp_namespace: if set, the class is assumed to
|
||||
belong to the given C++ namespace, regardless of the C++
|
||||
namespace of the python module it will be added to. For
|
||||
instance, this can be useful to wrap std classes, like
|
||||
std::ofstream, without having to create an extra python
|
||||
submodule.
|
||||
|
||||
@param message_rvalue: if not None, this parameter is a string
|
||||
:param message_rvalue: if not None, this parameter is a string
|
||||
that contains an rvalue C expression that evaluates to the
|
||||
exception message. The Python % operator will be used to
|
||||
substitute %(EXC)s for the caught exception variable name. The
|
||||
|
||||
Reference in new issue
Block a user