[Python-Dev] On quote styles

skip at pobox.com skip at pobox.com
Tue May 13 02:00:30 CEST 2008


>>>>> "Benji" == Benji York <benji at zope.com> writes:

    Benji> One such entry could be "Do what python does.":

    >>> 'I am a string.'
    'I am a string.'
    >>> "I'm a string"
    "I'm a string"

That would be the principle of fewest backslashes. ;-)

Skip


More information about the Python-Dev mailing list