Mercurial > pymonkey
diff docs/src/pymonkey.txt @ 161:28d067082390
Added docs for function.is_python.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Sun, 30 Aug 2009 15:50:56 -0700 |
parents | e57d8083fb3d |
children | 4edaa0e6f382 |
line wrap: on
line diff
--- a/docs/src/pymonkey.txt Sun Aug 30 15:47:23 2009 -0700 +++ b/docs/src/pymonkey.txt Sun Aug 30 15:50:56 2009 -0700 @@ -68,6 +68,12 @@ The number of lines comprising the function's JS source code. + .. data:: is_python + + Whether or not the function is actually implemented in Python. + If it is, you can use :meth:`Context.get_object_private()` to + retrieve this Python function. + .. class:: Script This is the type of compiled JavaScript scripts; it's actually a