Function __annotations__ dict has positional-only arguments go after positional-or-keyword ones

后端 未结 0 1717
萌比男神i
萌比男神i 2021-01-18 03:12

Arguments of a Python 3.8 function are defined in particular order: positional-only, mixed, keyword-only.

But __annotations__ define them in a d

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