summaryrefslogtreecommitdiff
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-01-03 22:45:34 +0000
committerBarry Warsaw <barry@python.org>1997-01-03 22:45:34 +0000
commite8fc29cde782ee540d7b2a10a96707727fd0a2e2 (patch)
tree35dd08bf96de4a27059786cb1f919ad82d064f1e /Python/getargs.c
parent9d1a02ce335be34d31274797ce3d53012e28e22b (diff)
downloadcpython-git-e8fc29cde782ee540d7b2a10a96707727fd0a2e2.tar.gz
Several changes:
- split_whitespace(): slightly better memory ref handling when errors occur. - strop_joinfields(): First argument can now be any sequence-protocol conformant object. - strop_find(), strop_rfind(): Use PyArg_ParseTuple for optional arguments - strop_lower(), strop_upper(): Factor logic into a common function do_casechange(). - strop_atoi(), strop_atol(): Use PyArg_ParseTuple. - strop_maketrans(): arguments used to be optional, although the documentation doesn't reflect this. Make the source conform to the docs. Arguments are required, but two empty strings will return the identity translation table. - General pass fixing up formatting, and checking for return values.
Diffstat (limited to 'Python/getargs.c')
0 files changed, 0 insertions, 0 deletions