On Sun, Oct 27, 2013, Zach Borboa <[email protected]> wrote:

>I'm seeing a mix of both singly- and doubly-quoted strings in django source.
>Other than docstrings wrapped in triple-double-quotes, when is it 
>appropriate
>to use double quotes instead single quotes?

As far as I understand it doesn't make any difference in Python, but apart from 
cases where what you use is dictated by the context (for example, a string with 
an apostrophe in it needs double quotes) I've wondered the same myself about 
what's preferred in Django.

Should our documentation examples prefer one rather over the other?

Daniele

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/20131027212242.1056773858%40smtp.modern-world.net.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to