• Facebook
  • Twitter
  • Reddit
  • StumbleUpon
  • Digg
  • email

All Samples(316)  |  Call(0)  |  Derive(5)  |  Import(311)
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/b/a/banyanims-HEAD/trunk/dependencies/zope-instance-2.7.4-0/Products/Archetypes/Field.py   banyanims(Download)
from copy import deepcopy
from cgi import escape
from cStringIO import StringIO
from types import ListType, TupleType, ClassType, FileType, DictType, IntType
from types import StringType, UnicodeType, StringTypes
 
from AccessControl import ClassSecurityInfo

src/b/a/banyanims-HEAD/dependencies/zope-instance-2.7.4-0/Products/Archetypes/Field.py   banyanims(Download)
from copy import deepcopy
from cgi import escape
from cStringIO import StringIO
from types import ListType, TupleType, ClassType, FileType, DictType, IntType
from types import StringType, UnicodeType, StringTypes
 
from AccessControl import ClassSecurityInfo

src/b/a/bases-HEAD/trunk/bases/thirdparty/jecode.py   bases(Download)
    return r
 
 
from types import NoneType, IntType, LongType, FloatType, DictType, ListType
from types import TupleType, StringType, UnicodeType, BooleanType
 
# Encode integers

src/b/a/bases-HEAD/bases/thirdparty/jecode.py   bases(Download)
    return r
 
 
from types import NoneType, IntType, LongType, FloatType, DictType, ListType
from types import TupleType, StringType, UnicodeType, BooleanType
 
# Encode integers

src/o/r/orcatorrent-HEAD/Core/BitTornado/bencode.py   orcatorrent(Download)
# Written by Petru Paler, Uoti Urpala, Ross Cohen and John Hoffman
# see LICENSE.txt for license information
 
from types import IntType, LongType, StringType, ListType, TupleType, DictType
try:
    from types import BooleanType
except ImportError:

src/b/t/btqueue-HEAD/trunk/btqueue/BitTornado/bencode.py   btqueue(Download)
# Written by Petru Paler, Uoti Urpala, Ross Cohen and John Hoffman
# see LICENSE.txt for license information
 
from types import IntType, LongType, StringType, ListType, TupleType, DictType
try:
    from types import BooleanType
except ImportError:

src/g/h/gherkin-3/gherkin.py   gherkin(Download)
 
"""
 
from types import IntType, TupleType, StringType, FloatType, LongType, ListType, DictType, NoneType, BooleanType, UnicodeType, ComplexType
SetType = type(set())
from struct import pack, unpack
from cStringIO import StringIO

src/b/t/btqueue-HEAD/btqueue/BitTornado/bencode.py   btqueue(Download)
# Written by Petru Paler, Uoti Urpala, Ross Cohen and John Hoffman
# see LICENSE.txt for license information
 
from types import IntType, LongType, StringType, ListType, TupleType, DictType
try:
    from types import BooleanType
except ImportError:

src/o/p/openmmod-HEAD/trunk/src/tools/gencode/yaml/dump.py   openmmod(Download)
import types
import string
from types import StringType, UnicodeType, IntType, FloatType
from types import DictType, ListType, TupleType, InstanceType
from yaml.klass import hasMethod, isDictionary
import re
 

src/b/a/bases-HEAD/trunk/bases/thirdparty/rencode.py   bases(Download)
        raise ValueError
    return r
 
from types import StringType, IntType, LongType, DictType, ListType, TupleType, FloatType, NoneType
 
def encode_int(x, r):
    if 0 <= x < INT_POS_FIXED_COUNT:

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next