(self)
| 492 | |
| 493 | @property |
| 494 | def pre_index(self): |
| 495 | if self.new_version(self.major): |
| 496 | pre_type = 2 |
| 497 | if not isinstance(self.minor, int): |
| 498 | pre_type = 1 |
| 499 | else: |
| 500 | pre_type = 4 |
| 501 | return pre_type |
| 502 | |
| 503 | def __str__(self): |
| 504 | return self.string |
nothing calls this directly
no test coverage detected