How to write Python generator function that never yields anything

前端 未结 0 1320
谎友^
谎友^ 2021-02-11 15:29

I want to write a Python generator function that never actually yields anything. Basically it\'s a \"do-nothing\" drop-in that can be used by other code which expects to call a

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