diff --git a/doc/v2/scope.html b/doc/v2/scope.html index 5a6c4be2..61794628 100644 --- a/doc/v2/scope.html +++ b/doc/v2/scope.html @@ -64,11 +64,16 @@
scopeThe scope class has an associated global Python object
- which controls the Python namespace in which new extension classes and
- wrapped functions will be defined as attributes. Default-constructing a
- new scope object binds that object to the associated Python
- object. Constructing a is associated with , and
The scope class has an associated global Python
+ object which controls the Python namespace in which new extension
+ classes and wrapped functions will be defined as
+ attributes. Default-constructing a new scope object
+ binds it to the associated global Python object. Constructing a
+ scope object with an argument changes the associated
+ global Python object to the one held by the argument, until the
+ lifetime of the scope object ends, at which time the
+ associated global Python object reverts to what it was before the
+ scope object was constructed.
scope
synopsis