Is it possible to define circularly dependant types without forward-reference in modern Python?

后端 未结 0 1085
暗喜
暗喜 2021-01-07 03:41

I am aware of PEP-563 but it doesn’t seem possible to define actually circularly dependant types without using a forward reference or other hacks like redeclaration.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题