Explore PEP 563 (better conditional type imports)
#1327 · Python · ★ 4.4k · BSD-3-Clause · updated 3d ago
Problem PEP 563 was adopted in Python 3.7, and may be able to make it easier for us to import types from other modules conditionally. Modules can run this import to enable PEP 563: from __future__ import annotations This statement ensures that conditional type imports don't need…
replies in ~22h4/7 outside PRs merged
Cleared 2m ago