diff options
author | Andrew Pinkham <code@andrewsforge.com> | 2014-05-06 11:00:10 -0500 |
---|---|---|
committer | Andrew Pinkham <code@andrewsforge.com> | 2014-05-06 11:00:10 -0500 |
commit | 5c5ada8e284fa573080cb8a8174d706d1e7580fc (patch) | |
tree | 4917ccc51f76dbf61aab40d15e3c17e8a553ab68 /pygments/util.py | |
parent | daa04ad1c1ce594d88640867b814b0c1df3f364f (diff) | |
download | pygments-5c5ada8e284fa573080cb8a8174d706d1e7580fc.tar.gz |
Clarified comment in _surrogatepair() util.
Diffstat (limited to 'pygments/util.py')
-rw-r--r-- | pygments/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/util.py b/pygments/util.py index 6b68ba79..5dc6981f 100644 --- a/pygments/util.py +++ b/pygments/util.py @@ -210,7 +210,7 @@ def looks_like_xml(text): def _surrogatepair(c): # Given a unicode character code # with length greater than 16 bits, - # print the two 16 bit surrogate pair. + # return the two 16 bit surrogate pair. # From example D28 of: # http://www.unicode.org/book/ch03.pdf return (0xd7c0 + (c >> 10), (0xdc00 + (c & 0x3ff))) |