Unverified Kaydet (Commit) 04694a30 authored tarafından Inada Naoki's avatar Inada Naoki Kaydeden (comit) GitHub

bpo-35838: document optionxform must be idempotent (GH-12656)

üst e6a0e804
......@@ -721,6 +721,12 @@ be overridden by subclasses or by attribute assignment.
>>> list(custom['Section2'].keys())
['AnotherKey']
.. note::
The optionxform function transforms option names to a canonical form.
This should be an idempotent function: if the name is already in
canonical form, it should be returned unchanged.
.. attribute:: ConfigParser.SECTCRE
A compiled regular expression used to parse section headers. The default
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment