File size: 135 Bytes
60f5111
 
 
 
 
 
1
2
3
4
5
6
7
T = TypeVar('T')
Const = Annotated[T, my_annotations.CONST]

class C:
    def const_method(self: Const[List[int]]) -> int:
        ...