diff --git a/doc/v2/class.html b/doc/v2/class.html index c66bf8dc..d2e2d032 100644 --- a/doc/v2/class.html +++ b/doc/v2/class.html @@ -247,7 +247,7 @@ namespace boost { namespace python { template <class T - , class Bases = bases<> + , class Bases = bases<> , class HeldType = T , class NonCopyable = unspecified > @@ -319,7 +319,7 @@ class_(char const* name, char const* docstring, Init init_spec);
-
Requires: name is a Requires: name is an ntbs which conforms to Python's identifier naming rules. If docstring is supplied, it must be an @@ -404,7 +404,7 @@ class_& def(char const* name, Fn fn, A1 const& a1, A2 const& a2, A3
-
Requires: name is a Requires: name is an ntbs which conforms to Python's identifier naming rules.
@@ -414,8 +414,9 @@ class_& def(char const* name, Fn fn, A1 const& a1, A2 const& a2, A3
  • If a1 is the result of an overload-dispatch-expression, - only the second is allowed and fn must be a pointer to [member] - function whose signature is compatible with A1. + only the second is allowed and fn must be a pointer to + function or pointer to member function whose signature is + compatible with A1.
    Effects: For each
    -
    Requires: name is a ntbs which conforms to - Python's Requires: name is an ntbs which conforms to Python's identifier naming rules.
    @@ -554,8 +555,8 @@ void add_property(char const* name, Get const& fget, Set const& fset);
    -
    Requires: name is a ntbs which conforms to - Python's Requires: name is an ntbs which conforms to Python's identifier naming rules.
    @@ -580,8 +581,8 @@ class_& def_readonly(char const* name, D T::*pm);
    -
    Requires: name is a ntbs which conforms to - Python's Requires: name is an ntbs which conforms to Python's identifier naming rules.
    @@ -733,7 +734,7 @@ template <class Policies>
    Effects: Returns a new init-expression with all the same properties as the init object except that its - callpolicies are replaced by a reference to + call policies are replaced by a reference to policies.
    @@ -750,8 +751,8 @@ template <class Policies>
    keywords: A keyword-expression which will be - used to name (a trailing subsequence of) the arguments to the generated - __init__ function(s).
    + used to name (a trailing subsequence of) the arguments to the + generated __init__ function(s).
    call policies: An instance of a model of CallPolicies.
    diff --git a/doc/v2/definitions.html b/doc/v2/definitions.html index 4969f977..5c21e86e 100644 --- a/doc/v2/definitions.html +++ b/doc/v2/definitions.html @@ -37,12 +37,23 @@
    ntbs: Null-Terminated Byte String, or `C'-string. C++ string literals are ntbses. An ntbs must never be null.
    + +
    raise: Exceptions in Python are + "raised", not "thrown", as they are in + C++. When this documentation says that some Python exception is + "raised" in the context of C++ code, it means that the + corresponding Python exception is set via the Python/'C' + API, and throw_error_already_set() + is called.
    +

    Revised - 28 September, 2002 + 30 September, 2002

    diff --git a/doc/v2/extract.html b/doc/v2/extract.html index 8c61be29..98d52d69 100644 --- a/doc/v2/extract.html +++ b/doc/v2/extract.html @@ -192,7 +192,7 @@ int Print(str s) The following example shows how extract can be used along with class_<...> +href="class.html#class_-spec">class_<...> to create and access an instance of a wrapped C++ class.