Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /randovania_randovania /randovania /exporter /hints /determiner.py
| from __future__ import annotations | |
| class Determiner: | |
| s: str | |
| supports_title: bool | |
| def __init__(self, s: str, supports_title: bool = True) -> None: | |
| self.s = s | |
| self.supports_title = supports_title | |
| def __format__(self, format_spec: str) -> str: | |
| return self.s.__format__(format_spec) | |
| def title(self) -> str: | |
| if self.supports_title: | |
| return self.s.title() | |
| else: | |
| return self.s | |
| def capitalize(self) -> str: | |
| return self.s.capitalize() | |
| def capitalize_title(self) -> str: | |
| return self.title.capitalize() | |
| def upper(self) -> str: | |
| return self.s.upper() | |
| def upper_title(self) -> str: | |
| return self.title.upper() | |
Xet Storage Details
- Size:
- 804 Bytes
- Xet hash:
- 22dd8587d75ce3562774587b90c901c19347a1807076edbe142bf5dc6bb4c2b3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.