Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Single quotes vs double quotes

Hello, Sage Community.

According to Python's PEP8 on string quotes, there is no preference between single quotes and double quotes for enclosing strings. Does this rule also applies to Sage? Is there any de facto standard?

I always assumed that a huge project like SageMath should have its own set of style rules. (For example, Scilab, another open-source alternative to Matlab, has its coding-style guidelines!)

I suppose this question is specially directed to Sage developers, but any concrete (not opinion-based) answer is welcome!