[Python-Dev] Dash

Antoine Pitrou solipsis at pitrou.net
Fri Jul 19 10:46:20 CEST 2013


Le Fri, 19 Jul 2013 18:38:05 +1000,
Nick Coghlan <ncoghlan at gmail.com> a écrit :
> On 19 July 2013 17:25, Ben Finney <ben+python at benfinney.id.au> wrote:
> > Serhiy Storchaka <storchaka at gmail.com> writes:
> >
> >> What type of dash is preferable in the documentation? The en dash
> >> (-) or the em dash (--)?
> >
> > They have different purposes; use whichever is appropriate for the
> > context.
> >
> > This isn't an official Python developer position. But all of '-',
> > '-', '--', '-', etc. have distinct and common meanings in English
> > text. So it's a mistaken idea to think of "which dash is
> > preferable" since they are *all* preferable for their distinct uses.
> 
> I don't know about "common". I had no idea there were 3 dash types
> until a couple of weeks ago. I thought there were only two
> (short/hyphen/minus-sign and long/em-dash). I still don't really know
> what the difference is between the two long ones (en-dash vs em-dash).

But there aren't 3 dash types. There are at least 5 of them!
https://en.wikipedia.org/wiki/Dash#Common_dashes

(not to mention that Twisted has/had its own dash, IIRC)

cheers

Antoine.




More information about the Python-Dev mailing list