summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_getargs.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-07-10 14:14:37 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-07-10 14:14:37 (GMT)
commitbf4406971ce34434ed914d17fab70370948d2aab (patch)
treef2b71e0dc3238ab5bc69f465497f5a10fc4e4d9d /Lib/test/test_getargs.py
parentd9dfe0213fa391a212d2557271fa6b4e8dc91a1f (diff)
downloadcpython-bf4406971ce34434ed914d17fab70370948d2aab.zip
cpython-bf4406971ce34434ed914d17fab70370948d2aab.tar.gz
cpython-bf4406971ce34434ed914d17fab70370948d2aab.tar.bz2
Improve Context construction and representation:
* Rename "trap_enablers" to just "traps". * Simplify names of "settraps" and "setflags" to just "traps" and "flags". * Show "capitals" in the context representation * Simplify the Context constructor to match its repr form so that only the set flags and traps need to be listed. * Representation can now be run through eval(). Improve the error message when the Decimal constructor is given a float. The test suite no longer needs a duplicate reset_flags method.
Diffstat (limited to 'Lib/test/test_getargs.py')
0 files changed, 0 insertions, 0 deletions