All Samples(3) | Call(0) | Derive(0) | Import(3)
dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
(key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
d = {}
for k, v in iterable:
d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)src/m/e/mext.threads-0.5.r2230/mext/threads/new_thread.py mext.threads(Download)
import sys from thread import get_ident, start_new_thread from threading import currentThread as current_thread, _active, _active_limbo_lock, _limbo, _MainThread, _DummyThread from mext.log import Logger from mext.classhacks import get_name from mext.context import State
src/t/h/threading2-0.1.4/threading2/__init__.py threading2(Download)
# Expose some internal state of the threading module, for use by regr tests from threading import _active,_DummyThread # Grab the best implementation we can use on this platform import sys
src/m/e/mext.threads-0.5.r2230/mext/threads/locks.py mext.threads(Download)
from thread import get_ident, allocate_lock as SimpleLock from threading import _active from time import time, sleep __all__ = ['SimpleLock', 'TimeoutLock', 'RLock'] # the only requirement from locks.Lock is to support blocking 'acquire'