Show More
@@ -278,7 +278,7 def no_var_expand(magic_func): | |||||
278 | (%timeit, %time, etc.). |
|
278 | (%timeit, %time, etc.). | |
279 | Decorate magics with `@no_var_expand` to opt-out of variable expansion. |
|
279 | Decorate magics with `@no_var_expand` to opt-out of variable expansion. | |
280 |
|
280 | |||
281 |
.. versionadded:: 7. |
|
281 | .. versionadded:: 7.3 | |
282 | """ |
|
282 | """ | |
283 | setattr(magic_func, MAGIC_NO_VAR_EXPAND_ATTR, True) |
|
283 | setattr(magic_func, MAGIC_NO_VAR_EXPAND_ATTR, True) | |
284 | return magic_func |
|
284 | return magic_func |
@@ -296,7 +296,7 python-profiler package from non-free.""") | |||||
296 |
|
296 | |||
297 | In [1]: import profile; profile.help() |
|
297 | In [1]: import profile; profile.help() | |
298 |
|
298 | |||
299 |
.. versionchanged:: 7. |
|
299 | .. versionchanged:: 7.3 | |
300 | User variables are no longer expanded, |
|
300 | User variables are no longer expanded, | |
301 | the magic line is always left unmodified. |
|
301 | the magic line is always left unmodified. | |
302 |
|
302 | |||
@@ -451,7 +451,7 python-profiler package from non-free.""") | |||||
451 | If you want IPython to automatically do this on every exception, see |
|
451 | If you want IPython to automatically do this on every exception, see | |
452 | the %pdb magic for more details. |
|
452 | the %pdb magic for more details. | |
453 |
|
453 | |||
454 |
.. versionchanged:: 7. |
|
454 | .. versionchanged:: 7.3 | |
455 | When running code, user variables are no longer expanded, |
|
455 | When running code, user variables are no longer expanded, | |
456 | the magic line is always left unmodified. |
|
456 | the magic line is always left unmodified. | |
457 |
|
457 | |||
@@ -1031,7 +1031,7 python-profiler package from non-free.""") | |||||
1031 | -o: return a TimeitResult that can be stored in a variable to inspect |
|
1031 | -o: return a TimeitResult that can be stored in a variable to inspect | |
1032 | the result in more details. |
|
1032 | the result in more details. | |
1033 |
|
1033 | |||
1034 |
.. versionchanged:: 7. |
|
1034 | .. versionchanged:: 7.3 | |
1035 | User variables are no longer expanded, |
|
1035 | User variables are no longer expanded, | |
1036 | the magic line is always left unmodified. |
|
1036 | the magic line is always left unmodified. | |
1037 |
|
1037 | |||
@@ -1199,7 +1199,7 python-profiler package from non-free.""") | |||||
1199 | This function provides very basic timing functionality. Use the timeit |
|
1199 | This function provides very basic timing functionality. Use the timeit | |
1200 | magic for more control over the measurement. |
|
1200 | magic for more control over the measurement. | |
1201 |
|
1201 | |||
1202 |
.. versionchanged:: 7. |
|
1202 | .. versionchanged:: 7.3 | |
1203 | User variables are no longer expanded, |
|
1203 | User variables are no longer expanded, | |
1204 | the magic line is always left unmodified. |
|
1204 | the magic line is always left unmodified. | |
1205 |
|
1205 |
General Comments 0
You need to be logged in to leave comments.
Login now