Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit e5562d8

Browse files
authored
Merge pull request #40 from mathiasbynens/patch-1
Fix terminology
2 parents 8bd601c + cf0e047 commit e5562d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/other_languages/discussions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Here is the bug: https://bugs.python.org/issue2650
4242

4343
**Python escapes all characters except ascii alphanumeric but they agree it was a poor choice**. In retrospect, they had to opt-out a character for more readability. See the issue for more discussion. https://hg.python.org/cpython/file/af793c7580f1/Lib/re.py#l242
4444

45-
There is a Python bug in 2.7.6, escaping `u"💩"` returns `u'\\\ud83d\\\udca9'` that is, it escaped each code point instead of code units. In 2.7.2 it errors http://repl.it/tRB
45+
There is a Python bug in 2.7.6, escaping `u"💩"` returns `u'\\\ud83d\\\udca9'` that is, it escaped each UCS-2/UTF-16 code unit instead of the code point. In 2.7.2 it errors http://repl.it/tRB
4646

4747
(Update, Martijn Pieters pointed this out http://chat.stackoverflow.com/transcript/message/23987063#23987063 )
4848

0 commit comments

Comments
 (0)