diff options
author | Barry Warsaw <barry@python.org> | 2001-09-26 05:41:51 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-09-26 05:41:51 (GMT) |
commit | beb5945c65f13e181409c09d89795673c4f73162 (patch) | |
tree | e1557bf57736a3dbe3d3a8f371738a41def671ab /Lib/inspect.py | |
parent | 76fac8ed0e4a141854e39f6a329608b75de12958 (diff) | |
download | cpython-beb5945c65f13e181409c09d89795673c4f73162.zip cpython-beb5945c65f13e181409c09d89795673c4f73162.tar.gz cpython-beb5945c65f13e181409c09d89795673c4f73162.tar.bz2 |
has_key(): Implement in terms of get().
get_type(): Use a compiled regular expression, which can be shared.
_get_params_preserve(): A helper method which extracts the header's
parameter list preserving value quoting. I'm not sure that this
needs to be a public method. It's necessary because we want
get_param() and friends to return the unquoted parameter value,
however we want the quote-preserved form for set_boundary().
get_params(), get_param(), set_boundary(): Implement in terms of
_get_params_preserve().
walk(): Yield ourself first, then recurse over our subparts (if any).
Diffstat (limited to 'Lib/inspect.py')
0 files changed, 0 insertions, 0 deletions