(self, value: str)
| 542 | return value |
| 543 | |
| 544 | def _process_version(self, value: str) -> version_module.Version: |
| 545 | if not value: |
| 546 | raise self._invalid_metadata("{field} is a required field") |
| 547 | try: |
| 548 | return version_module.parse(value) |
| 549 | except version_module.InvalidVersion as exc: |
| 550 | raise self._invalid_metadata( |
| 551 | f"{value!r} is invalid for {{field}}", cause=exc |
| 552 | ) |
| 553 | |
| 554 | def _process_summary(self, value: str) -> str: |
| 555 | """Check the field contains no newlines.""" |
nothing calls this directly
no test coverage detected