Codebase list ohcount / upstream/4.0.0+git20210223.6654d48 test / src_dir / py1.py
upstream/4.0.0+git20210223.6654d48

Tree @upstream/4.0.0+git20210223.6654d48 (Download .tar.gz)

py1.py @upstream/4.0.0+git20210223.6654d48raw · history · blame

# some python code
# lorem
# ipsum
# foo

class Foo:
  """
  This is a foo class
  It doesn't do anything
  Therefore this doc comment is pointless
  """

  def __init__(self, bar):
    """short doc comment"""
    print(bar)

  def string(self):
    print('This is a string')