AThePeanut4 / docify

A script to add docstrings to Python type stubs using reflection
MIT License
5 stars 2 forks source link

Use modern type annotation for py38 #6

Closed jfcherng closed 1 week ago

jfcherng commented 1 week ago

With from __future__ import annotations, type annotation won't be evaluated at runtime so you can use | in type annotation in py38.