Coverage for structured_tutorials / typing.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2025-12-21 19:08 +0100

1# Copyright (c) 2025 Mathias Ertl 

2# Licensed under the MIT License. See LICENSE file for details. 

3 

4"""Module that re-exports some type hints.""" 

5 

6try: 

7 from typing import Self 

8except ImportError: # pragma: no cover 

9 # Note: only for py3.10 

10 from typing_extensions import Self 

11 

12 

13__all__ = [ 

14 "Self", 

15]