[Python-ideas] Non-boolean return from __contains__

Antoine Pitrou solipsis at pitrou.net
Tue Jul 27 19:05:54 CEST 2010


On Tue, 27 Jul 2010 18:42:32 +0200
Masklinn <masklinn at masklinn.net> wrote:
> > 
> > Too bad backticks look like grit on Tim's monitor!
> 
> What about french quotes
> 
> expr = «x + y * z»

You should require non-breaking spaces (U+00A0 or U+202F) between them
and the enclosed expression:

expr = « x + y * z »   (with U+00A0)

expr = « x + y * z »   (with U+202F)

(I hope my editor doesn't fool me here)

> block = «««
> try:
>     frobnicate()
> except FrobError:
>     print("Oh no you di'n't")
> »»»

This would be quite a derogatory use of French quotes.






More information about the Python-ideas mailing list