t.p._utilpy3 : module documentation

Part of twisted.python View Source

The subset of twisted.python.util which has been ported to Python 3.
Function setIDFunction Change the function used by unsignedID to determine the integer id value of an object. This is largely useful for testing to give unsignedID deterministic, easily-controlled behavior.
def setIDFunction(idFunction): (source)
Change the function used by unsignedID to determine the integer id value of an object. This is largely useful for testing to give unsignedID deterministic, easily-controlled behavior.
ParametersidFunctionA function with the signature of id.
ReturnsThe previous function being used by unsignedID.
API Documentation for Twisted, generated by pydoctor at 2012-12-26 12:18:15.