Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-12-27 15:05:49 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-12-27 15:05:49 +0400
commit76b562237f31a804cd2eba9e3af6effa54f31b5b (patch)
treed789e373995ad0ab4ca0fb5668937c5b7814bb2d /doc/python_api/rst/info_tips_and_tricks.rst
parent03e388127034c35c82ed0f84b2239125111db5a4 (diff)
parentd09a8ea9e7a8ad208326b99a0631e9efc7119fbd (diff)
Merge branch 'master' into soc-2013-depsgraph_mtsoc-2013-depsgraph_mt
Conflicts: source/blender/blenkernel/intern/constraint.c source/blender/blenkernel/intern/depsgraph.c source/blender/blenkernel/intern/object.c source/blender/blenkernel/intern/scene.c source/blender/blenkernel/intern/shrinkwrap.c source/blender/collada/AnimationExporter.cpp source/blender/editors/space_image/image_ops.c source/blender/editors/space_view3d/view3d_view.c source/blender/makesrna/intern/rna_scene.c source/blender/modifiers/intern/MOD_util.c source/blender/render/intern/source/pipeline.c
Diffstat (limited to 'doc/python_api/rst/info_tips_and_tricks.rst')
-rw-r--r--doc/python_api/rst/info_tips_and_tricks.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/rst/info_tips_and_tricks.rst b/doc/python_api/rst/info_tips_and_tricks.rst
index 75e8ef61f6f..793259401b8 100644
--- a/doc/python_api/rst/info_tips_and_tricks.rst
+++ b/doc/python_api/rst/info_tips_and_tricks.rst
@@ -214,7 +214,7 @@ The next example is an equivalent single line version of the script above which
.. code-block:: python
- __import__('code').interact(local={k: v for ns in (globals(), locals()) for k, v in ns.items()})
+ __import__('code').interact(local=dict(globals(), **locals()))
``code.interact`` can be added at any line in the script and will pause the script an launch an interactive interpreter in the terminal, when you're done you can quit the interpreter and the script will continue execution.