代码示例:(标识:python_class_pass)
python_class_pass.py
class Person:
  pass

# having an empty class definition like this, would raise an error without the pass statement
运行结果: