[Python-checkins] r62916 - sandbox/trunk/release/release.py

Barry Warsaw barry at python.org
Fri May 9 14:15:40 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On May 8, 2008, at 9:48 PM, Nick Coghlan wrote:
>
> I only realised a couple of months ago *why* I prefer to use double- 
> quotes for string literals. Aside from the fact of having a C/C++  
> background (where you don't have a choice - you have to use double- 
> quotes for string literals), it's almost entirely due to the fact  
> that using an *apostrophe* in a string literal is really common, but  
> using an actual quote mark is quite rare.

Single quotes are easier to type so I prefer them.  I very rarely find  
myself using apostrophes in non-triple quoted strings.  I like it when  
things are easier to type, but I feel a vague sense of deja vu here  
<>wink<>.  :)

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iQCVAwUBSCRAbHEjvBPtnXfVAQL5KQP/XahdN/4En5t4Mmye27jsFCii9FFyeyK2
paCOKRiYaPXQKukyfIof6UAueOYh4mOwOGG+ZO8ChKQrtCc5gmaj2fMmlnA804lB
Z4UA2TW8s+c5xPb5XBFQtYMjqvjtDzu8njEf+hMykJPg+pjlN2LU8LN+L2Eipf6q
sCAFLopEBL8=
=ZHVK
-----END PGP SIGNATURE-----


More information about the Python-checkins mailing list