Show More
@@ -1102,7 +1102,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
1102 | # Now that FakeModule produces a real module, we've run into a nasty |
|
1102 | # Now that FakeModule produces a real module, we've run into a nasty | |
1103 | # problem: after script execution (via %run), the module where the user |
|
1103 | # problem: after script execution (via %run), the module where the user | |
1104 | # code ran is deleted. Now that this object is a true module (needed |
|
1104 | # code ran is deleted. Now that this object is a true module (needed | |
1105 |
# so doc |
|
1105 | # so doctest and other tools work correctly), the Python module | |
1106 | # teardown mechanism runs over it, and sets to None every variable |
|
1106 | # teardown mechanism runs over it, and sets to None every variable | |
1107 | # present in that module. Top-level references to objects from the |
|
1107 | # present in that module. Top-level references to objects from the | |
1108 | # script survive, because the user_ns is updated with them. However, |
|
1108 | # script survive, because the user_ns is updated with them. However, | |
@@ -1216,7 +1216,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
1216 | # user_ns, and we sync that contents into user_ns_hidden so that these |
|
1216 | # user_ns, and we sync that contents into user_ns_hidden so that these | |
1217 | # initial variables aren't shown by %who. After the sync, we add the |
|
1217 | # initial variables aren't shown by %who. After the sync, we add the | |
1218 | # rest of what we *do* want the user to see with %who even on a new |
|
1218 | # rest of what we *do* want the user to see with %who even on a new | |
1219 |
# session (probably nothing, so they |
|
1219 | # session (probably nothing, so they really only see their own stuff) | |
1220 |
|
1220 | |||
1221 | # The user dict must *always* have a __builtin__ reference to the |
|
1221 | # The user dict must *always* have a __builtin__ reference to the | |
1222 | # Python standard __builtin__ namespace, which must be imported. |
|
1222 | # Python standard __builtin__ namespace, which must be imported. | |
@@ -2079,7 +2079,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
2079 |
|
2079 | |||
2080 | This creates completion machinery that can be used by client code, |
|
2080 | This creates completion machinery that can be used by client code, | |
2081 | either interactively in-process (typically triggered by the readline |
|
2081 | either interactively in-process (typically triggered by the readline | |
2082 | library), programatically (such as in test suites) or out-of-prcess |
|
2082 | library), programmatically (such as in test suites) or out-of-process | |
2083 | (typically over the network by remote frontends). |
|
2083 | (typically over the network by remote frontends). | |
2084 | """ |
|
2084 | """ | |
2085 | from IPython.core.completer import IPCompleter |
|
2085 | from IPython.core.completer import IPCompleter | |
@@ -3290,7 +3290,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
3290 |
|
3290 | |||
3291 | A string specifying code to retrieve. This will be tried respectively |
|
3291 | A string specifying code to retrieve. This will be tried respectively | |
3292 | as: ranges of input history (see %history for syntax), url, |
|
3292 | as: ranges of input history (see %history for syntax), url, | |
3293 | correspnding .py file, filename, or an expression evaluating to a |
|
3293 | corresponding .py file, filename, or an expression evaluating to a | |
3294 | string or Macro in the user namespace. |
|
3294 | string or Macro in the user namespace. | |
3295 |
|
3295 | |||
3296 | raw : bool |
|
3296 | raw : bool |
General Comments 0
You need to be logged in to leave comments.
Login now