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.Exceptions | |
---|---|
StopIteration |
Function Summary | |
---|---|
dict(args)
| |
inet_pton(af,
addr)
| |
inet_ntop(af,
addr)
| |
isinstance(object,
class_or_type_or_tuple)
| |
Demote a value to 0 or 1, depending on its truth value | |
iter(lst)
|
Variable Summary | |
---|---|
int |
True
|
int |
False
|
Function Details |
---|
bool(value)Demote a value to 0 or 1, depending on its truth value This is not to be confused with types.BooleanType, which is way too hard to duplicate in 2.1 to be worth the trouble. |
Variable Details |
---|
False
|
True
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Thu Apr 17 12:52:03 2003 | http://epydoc.sf.net |