comparison 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
comparison
equal deleted inserted replaced
160:56181fb5fc7e 161:28d067082390
65 The line number at which the function's JS source code begins. 65 The line number at which the function's JS source code begins.
66 66
67 .. data:: line_extent 67 .. data:: line_extent
68 68
69 The number of lines comprising the function's JS source code. 69 The number of lines comprising the function's JS source code.
70
71 .. data:: is_python
72
73 Whether or not the function is actually implemented in Python.
74 If it is, you can use :meth:`Context.get_object_private()` to
75 retrieve this Python function.
70 76
71 .. class:: Script 77 .. class:: Script
72 78
73 This is the type of compiled JavaScript scripts; it's actually a 79 This is the type of compiled JavaScript scripts; it's actually a
74 subtype of :class:`Object`, though when exposed to JS code it 80 subtype of :class:`Object`, though when exposed to JS code it