(cls, iter: Any, length: int, padding: int = 0)
| 1083 | |
| 1084 | @classmethod |
| 1085 | def _padded(cls, iter: Any, length: int, padding: int = 0) -> list[int]: |
| 1086 | as_list = list(iter) |
| 1087 | if len(as_list) < length: |
| 1088 | for _ in range(length - len(as_list)): |
| 1089 | as_list.append(padding) |
| 1090 | return as_list |
| 1091 | |
| 1092 | @classmethod |
| 1093 | def from_string(cls, version_string: str) -> Version: |
no outgoing calls
no test coverage detected