Files
RustPython/extra_tests/snippets/syntax_comment.py
2022-05-04 02:54:59 +09:00

13 lines
170 B
Python

# Snippet to demo comment handling...
def foo():
a = []
# This empty comment below manifests a bug:
#
if len(a) > 2:
a.append(2)
return a