mirror of
https://github.com/johndoe6345789/typthon.git
synced 2026-04-25 06:05:05 +00:00
- Added @strict_types decorator that validates all parameters have type hints - Functions without type annotations now raise TypeError at definition time - All functions in the module decorated with @strict_types - def my_func(var1, var2): raises TypeError (no annotations) - def my_func(var1: str, var2: int): is accepted (has annotations) Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
Source files for binary executables (as opposed to shared modules)