Ludvig Ericson wrote:
> Well, I was trying to be funny and was under the impression that Python
> 3.0 had Unicode identifiers, but apparently it doesn't. (I used …, not ...)
It does, but they may not contain characters of the category
"Punctuation, other":
>>> import unicodedata
>>> unicodedata.c
Nick Coghlan wrote:
That won't work:
... = 1
File "", line 1
SyntaxError: can't assign to Ellipsis
Well, I was trying to be funny and was under the impression that
Python 3.0 had Unicode identifiers, but apparently it doesn't. (I used
…, not ...)
- Ludvig
_
Ludvig Ericson wrote:
> Begin forwarded message:
>> From: Ludvig Ericson
>> Or even
>>
>> … = partial.skip
>> split_one = partial(str.split, …, 1)
That won't work:
>>> ... = 1
File "", line 1
SyntaxError: can't assign to Ellipsis
Like None/True/False, "..." is a constant that can't be modifie