cpython icon indicating copy to clipboard operation
cpython copied to clipboard

Update type checking conditions in new repl module

Open eugenetriguba opened this issue 9 months ago • 0 comments

The current _pyrepl module type checks use if False, often with a # types comment above them, for condition imports that are only for type checking. It'd be a little more readable and not require a comment to simply use the TYPE_CHECKING constant from the typing module.

eugenetriguba avatar May 20 '24 22:05 eugenetriguba