diff --git a/doc/index.html b/doc/index.html index 0f5f3e04..9ddd65d3 100644 --- a/doc/index.html +++ b/doc/index.html @@ -12,7 +12,7 @@
Use the Boost Python Library to quickly and easily export a C++ library to Python such that the Python interface is + href="http://www.python.org">Python such that the Python interface is very similar to the C++ interface. It is designed to be minimally intrusive on your C++ design. In most cases, you should not have to alter your C++ classes in any way in order to use them with BPL. The system diff --git a/doc/overloading.html b/doc/overloading.html index 995b3a40..6979efd0 100644 --- a/doc/overloading.html +++ b/doc/overloading.html @@ -118,7 +118,7 @@ namespace scope as Python member functions.
BPL supports all of the standard
+ "http://www.python.org/doc/current/ref/specialnames.html">
special method names supported by real Python class instances
except __complex__ (more on the reasons below). In addition, it can quickly and easily expose
@@ -33,7 +33,7 @@
Python provides a number of special operators for basic customization of a
class. Only a brief description is provided below; more complete
documentation can be found here.
+ href="http://www.python.org/doc/current/ref/customization.html">here.
Numeric operators can be exposed manually, by defing C++
[member] functions that support the standard Python numeric
+ href="http://www.python.org/doc/current/ref/numeric-types.html">numeric
protocols. This is the same basic technique used to expose
to_string() as __str__() above, and is covered in detail below. BPL also supports
@@ -398,7 +398,7 @@ Note that "__rrpow__" is an extension not present in plain Python.
BPL can automatically wrap the following + "http://www.python.org/doc/current/ref/specialnames.html"> special methods:
@@ -672,12 +672,12 @@ for (iterator i = S.begin(), end = S.end(); i != end; ++i)
It is a better idea to support the standard Python
+ href="http://www.python.org/doc/current/ref/sequence-types.html">Python
sequence and mapping protocols for your wrapped containers. These
operators have to be wrapped manually because there are no corresponding
C++ operators that could be used for automatic wrapping. The Python
documentation lists the relevant
+ "http://www.python.org/doc/current/ref/sequence-types.html">
container operators. In particular, expose __getitem__, __setitem__
and remember to raise the appropriate Python exceptions
(PyExc_IndexError for sequences,
@@ -773,7 +773,7 @@ KeyError: 2
Just like built-in Python classes, BPL extension classes support special
+ href="http://www.python.org/doc/current/ref/attribute-access.html">special
the usual attribute access methods __getattr__,
__setattr__, and __delattr__.
Because writing these functions can