Home | Trees | Index | Help |
---|
Package twisted :: Package python :: Module compat |
|
Compatability module to provide backwards compatability for useful Python features.
This is mainly for use of internal Twisted code. We encourage you to use the latest version of Python directly from your code, if possible.Function Summary | |
---|---|
dict() -> new empty dictionary. | |
inet_pton(af,
addr)
| |
inet_ntop(af,
addr)
|
Variable Summary | |
---|---|
int |
True
|
int |
False
|
tuple |
StringTypes
|
str |
_dict_doc
|
Function Details |
---|
dict(*arg, **kwargs)dict() -> new empty dictionary. dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs. dict(seq) -> new dictionary initialized as if via: d = {} for k, v in seq: 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) |
Variable Details |
---|
False
|
StringTypes
|
True
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Thu May 8 13:18:55 2003 | http://epydoc.sf.net |