##// END OF EJS Templates
Add a new context manager, Widget.hold_sync(), which holds any syncing until the manager exits...
Add a new context manager, Widget.hold_sync(), which holds any syncing until the manager exits Sometimes for consistency or efficiency purposes, it makes sense to update a group of properties all at once. This context manager makes this possible. We also fix a bug where send_state was not passing the key on to get_state.

File last commit:

r11336:24b78a4d
r17621:fb8baf19
Show More
__main__.py
14 lines | 464 B | text/x-python | PythonLexer
# encoding: utf-8
"""Terminal-based IPython entry point.
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2012, IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
from IPython import start_ipython
start_ipython()