diff --git a/doc/special.html b/doc/special.html index 1f35b01d..7debc7c1 100644 --- a/doc/special.html +++ b/doc/special.html @@ -195,12 +195,15 @@ bignum_class.def(boost::python::operators<boost::python::op_add, BigNum>() Note that automatic wrapping uses the expression ``left + right'' and can be used uniformly regardless of whether the C++ operators are supplied as free functions -
+
+ 
 BigNum operator+(BigNum, BigNum)
 
- or as member - functions
-BigNum BigNum::operator+(BigNum).
+
+        or as member functions
+
+
+BigNum::operator+(BigNum).
 

@@ -319,17 +322,17 @@ PyObject* custom_coerce(PyObject* left, PyObject* right); some_class.def(&custom_coerce, "__coerce__");

- Note that the standard coercion (defined by use of automatic operator wrapping on a - class_builder or a call to - “some_class.def_standard_coerce()”) will never be applied - if a custom coercion function has been registered. Therefore, in your coercion function - you should call + Note that the standard coercion (defined by use of automatic + operator wrapping on a class_builder or a call to + class_builder::def_standard_coerce()) will never be applied if + a custom coercion function has been registered. Therefore, in + your coercion function you should call
-boost::python::detail::extension_class_coerce(left, right);
+boost::python::standard_coerce(left, right);
 
- for all cases that you don't want to handle yourself. + for all cases that you don't want to handle yourself.

The Ternary pow() Operator

@@ -643,11 +646,12 @@ Note that "__rrpow__" is an extension not present in plain Python. to Python's iteration and access protocols. These protocols differ considerably from the ones found in C++. For example, Python's typical iteration idiom looks like +
 for i in S:
 
-while in C++ one writes + while in C++ one writes
 for (iterator i = S.begin(), end = S.end(); i != end; ++i)