What does ... (ellipsis) mean in Python?
📁 python
I saw the following construct:
class BadStatus(Exception): ...What does it mean? Are there any differences from:
class BadStatus(Exception): pass >>> l = ['12', '10', '9', '15', '10', '120']>>> l = [line.rstrip() for line in l]>>> l['12', '10', '9', '15', '10', '120'] Log in to leave an answer