Correct docstring for a variable that can be a tuple or a list of said tuples

后端 未结 0 1694
余生分开走
余生分开走 2020-12-04 03:53

I want to know the correct way to document what a user can provide for a variable that can be a tuple (of coordinates) or a list of said tuples.

I am using numpy docs

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