Codebase list ohcount / upstream/3.1.1 test / src_dir / py1.py
upstream/3.1.1

Tree @upstream/3.1.1 (Download .tar.gz)

py1.py @upstream/3.1.1raw · 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')