Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)
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/s/e/segvault-HEAD/fusil/ptrace/gdb.py   segvault(Download)
from ptrace.tools import inverseDict
from ptrace.func_call import FunctionCallOptions
from ptrace.signames import signalName, SIGNAMES
from signal import SIGTRAP, SIGINT
from ptrace.terminal import enableEchoMode, terminalWidth
#BYTES_REGEX = re.compile(r"""(?:'([^'\\]*)'|"([^"\\]*)")""")
 
SIGNALS = inverseDict(SIGNAMES)   # name -> signum
 
COMMANDS = (

src/s/e/segvault-HEAD/fusil/ptrace/ptrace/__init__.py   segvault(Download)
from ptrace.signames import SIGNAMES, signalName
from ptrace.error import PtraceError
 
 

src/p/y/python-ptrace-0.7/gdb.py   python-ptrace(Download)
from ptrace.tools import inverseDict
from ptrace.func_call import FunctionCallOptions
from ptrace.signames import signalName, SIGNAMES
from ptrace.six import PY3, binary_type
from signal import SIGTRAP, SIGINT
#BYTES_REGEX = re.compile(r"""(?:'([^'\\]*)'|"([^"\\]*)")""")
 
SIGNALS = inverseDict(SIGNAMES)   # name -> signum
 
COMMANDS = (

src/p/y/python-ptrace-0.7/ptrace/__init__.py   python-ptrace(Download)
from ptrace.signames import SIGNAMES, signalName
from ptrace.error import PtraceError