From 1e91b684b7174c224ddd40363e5bea74c7a64f66 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Tue, 17 Nov 2009 09:27:38 -0300 Subject: 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 --- doc/typesystemvariables.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/typesystemvariables.rst b/doc/typesystemvariables.rst index 63177569d..0a3da0bcb 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. -- cgit v1.2.3