Plain is headed towards 1.0! Subscribe for development updates →
1from __future__ import annotations 2 3from typing import TypeVar 4 5T = TypeVar("T") 6 7 8def internalcode(obj: T) -> T: 9 """ 10 A decorator that simply marks a class or function as internal. 11 12 Do not rely on @internalcode as a developer! 13 """ 14 return obj