What exactly is "pass"? What should it be?

alex23 wuwei23 at gmail.com
Fri Nov 18 01:04:12 EST 2011


On Nov 18, 12:59 pm, Chris Angelico <ros... at gmail.com> wrote:
> If you call your dummy function something else, it may help
> readability/self-documentation too.

Or replace the pass with a docstring for the same effect:

  def silent(*args):
    """Null Object to repress reporting"""




More information about the Python-list mailing list