keys are case-insenstive
This commit is contained in:
parent
895121b37d
commit
8f7a391d24
|
@ -35,8 +35,8 @@ Metadata Files
|
||||||
The syntax defined in this PEP is for use with Python distribution
|
The syntax defined in this PEP is for use with Python distribution
|
||||||
metadata files. The file format is a simple UTF-8 encoded Key: value
|
metadata files. The file format is a simple UTF-8 encoded Key: value
|
||||||
format with no maximum line length, followed by a blank line and an
|
format with no maximum line length, followed by a blank line and an
|
||||||
arbitrary payload. It is parseable by the ``email`` module with an
|
arbitrary payload. The keys are case-insensitive. It is parseable by
|
||||||
appropriate ``email.policy.Policy()``.
|
the ``email`` module with an appropriate ``email.policy.Policy()``.
|
||||||
|
|
||||||
When ``metadata`` is a Unicode string,
|
When ``metadata`` is a Unicode string,
|
||||||
```email.parser.Parser().parsestr(metadata)`` is a serviceable parser.
|
```email.parser.Parser().parsestr(metadata)`` is a serviceable parser.
|
||||||
|
|
Loading…
Reference in New Issue