(cls, strvalue: str)
| 424 | |
| 425 | @classmethod |
| 426 | def intern(cls, strvalue: str) -> PathToken: |
| 427 | if strvalue in cls._intern: |
| 428 | return cls._intern[strvalue] |
| 429 | else: |
| 430 | cls._intern[strvalue] = result = PathToken(strvalue) |
| 431 | return result |
| 432 | |
| 433 | |
| 434 | class _TokenRegistry(PathRegistry): |