summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2009-11-17 09:27:38 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-11-17 09:34:37 -0300
commit1e91b684b7174c224ddd40363e5bea74c7a64f66 (patch)
tree60b437c6e0297ccc5bf3d6d70384a32d1846ce97 /doc
parent8297598336b3248fd1d8be778f62b641121b98a0 (diff)
downloadshiboken-1e91b684b7174c224ddd40363e5bea74c7a64f66.tar.gz
shiboken-1e91b684b7174c224ddd40363e5bea74c7a64f66.tar.xz
shiboken-1e91b684b7174c224ddd40363e5bea74c7a64f66.zip
Added the %PYTHONTYPEOBJECT type system variable, which is replaced
by the proper Python type object depending on the context: method or class modification. Also added an AbstractMetaClass argument to ShibokenGenerator::writeCodeSnips to pass the needed context information. Reviewd by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/typesystemvariables.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/typesystemvariables.rst b/doc/typesystemvariables.rst
index 63177569..0a3da0bc 100644
--- a/doc/typesystemvariables.rst
+++ b/doc/typesystemvariables.rst
@@ -59,6 +59,12 @@ Variables
bounded to the Python wrapper method which receives the custom code.
+**%PYTHONTYPEOBJECT**
+
+ Replaced by the Python type object for the context in which it is inserted:
+ method or class modification.
+
+
**%RETURN_TYPE**
Replaced by the type returned by a function or method.