How to write Python generator function that never yields anything

前端 未结 0 782
小蘑菇
小蘑菇 2021-02-11 15:30

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

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