Mercurial > pymonkey
comparison docs/rendered/_sources/pymonkey.txt @ 144:ab612d2ad96a
Updated docs to reflect new script members.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Mon, 24 Aug 2009 22:47:15 -0700 |
parents | 96dc1beefc00 |
children | 0b1020c817b3 |
comparison
equal
deleted
inserted
replaced
143:df97699fc104 | 144:ab612d2ad96a |
---|---|
61 doesn't provide access to any special data or functionality. | 61 doesn't provide access to any special data or functionality. |
62 | 62 |
63 Script instances have a read-only buffer interface that exposes | 63 Script instances have a read-only buffer interface that exposes |
64 their bytecode. This can be accessed by passing an instance to | 64 their bytecode. This can be accessed by passing an instance to |
65 Python's built-in ``buffer()`` function. | 65 Python's built-in ``buffer()`` function. |
66 | |
67 .. data:: filename | |
68 | |
69 The filename of the script's original source code. | |
70 | |
71 .. data:: base_lineno | |
72 | |
73 The line number at which the script's original source code | |
74 begins. | |
75 | |
76 .. data:: line_extent | |
77 | |
78 The number of lines comprising the original source code. | |
66 | 79 |
67 .. class:: Context | 80 .. class:: Context |
68 | 81 |
69 This is the type of JavaScript context objects. Contexts can only | 82 This is the type of JavaScript context objects. Contexts can only |
70 be created via a call to :meth:`Runtime.new_context()`, but this | 83 be created via a call to :meth:`Runtime.new_context()`, but this |