From dcae0eadd5af2bdc631d0428ff0c5dfc2ede0c4d Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 16 Feb 2002 16:42:26 +0000 Subject: [PATCH] *** empty log message *** [SVN r12839] --- doc/v2/return_internal_reference.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/v2/return_internal_reference.html b/doc/v2/return_internal_reference.html index 8cbfc167..42b8c97e 100644 --- a/doc/v2/return_internal_reference.html +++ b/doc/v2/return_internal_reference.html @@ -55,7 +55,8 @@ argument or from the target of a member function to be returned safely without making a copy of the referent. The default for its first template argument handles the common case where the - containing object is the target (*this) of a wrapped member function. + containing object is the target (*this) of a wrapped + member function.

Classes

@@ -84,7 +85,10 @@ The index of the parameter which contains the object to which the reference or pointer is being returned. If used to wrap a member function, parameter 1 is the target object - (*this). + (*this). Note that if the target Python object + type doesn't support weak references, a Python + TypeError exception will be raised when the + function being wrapped is called. 1 @@ -125,7 +129,7 @@ PyObject* postcall(PyObject* args, PyObject* result);
-
Requires: PyTuple_Check(args) != 0 +
Requires: PyTuple_Check(args) != 0
Returns: make_custodian_and_ward_postcall::postcall(args, result)