On Wed, 17 Dec 2025 22:18:39 -0500, c186282 wrote: > Both ''' and """ work ... but you need to close the comment block > with the same thing. > > ANYway, block-comments ARE (at least now) to be had in Python. > > Never used P1 or P2 worth anything, maybe they didn't have block > comments ???
https://peps.python.org/pep-0257/ Doc strings are a little strange. 'String' is the key word. python3 Python 3.13.7 (main, Nov 24 2025, 20:51:28) [GCC 15.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> # this is a real comment >>> """this a a multiline ... string ... """ 'this a a multiline\n string\n' >>> foo = """ more multiline ... stuff ... """ >>> print(foo) more multiline stuff There are just strings that aren't assigned. -- https://mail.python.org/mailman3//lists/python-list.python.org
