[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Fwd: Heritage of Lua syntax for multi-line strings and comments
- From: bil til <biltil52@...>
- Date: Fri, 24 Nov 2023 20:22:56 +0100
Am Fr., 24. Nov. 2023 um 20:17 Uhr schrieb Claudio Grondi
<claudio.grondi@freenet.de>:
>
> ''' multiline string
> first level '''
This looks somehow funny, this really works well in Python?
... just wondering how they distinguish empty strings "" from this
start sign of a multiline string ...
... but maybe Pyhton will allow this only on start of line and then
some further restriction... .
(Lua has not such stringent "start of line" coding conditions as
Python, generally it allows much more flexible coding... ).