Hot to split string literals that will across two or more lines ?

Mike Meyer mwm at mired.org
Sat Nov 19 22:51:04 EST 2005


Steven D'Aprano <steve at REMOVETHIScyber.com.au> writes:
> Brackets include:
>
> parentheses or round brackets ( )
> square brackets [ ]
> braces or curly brackets { }
> chevrons or angle brackets 〈 〉
>
> The symbols for chevrons are not available on common keyboards, are not
> available in ordinary ASCII, and may not show up correctly in many
> typefaces, so a common alternative is to substitute less than and greater
> than signs < > as brackets. HTML and XML use that convention.

Hmm. I'm used to seeing "angle brackets" - aka brokets - used to refer
to </>. That may be the convention you mention leaking across, though.

You imply that HTML/XML might use chevrons. I don't think that's the
case. They inherit their start/end tag characters from SGML's
default.

        <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list