(cls, repo: 'BaseRepository', ptr: 'GitConfigC')
| 98 | |
| 99 | @classmethod |
| 100 | def from_c(cls, repo: 'BaseRepository', ptr: 'GitConfigC') -> 'Config': |
| 101 | config = cls.__new__(cls) |
| 102 | config._repo = repo |
| 103 | config._config = ptr |
| 104 | |
| 105 | return config |
| 106 | |
| 107 | def __del__(self) -> None: |
| 108 | try: |