summaryrefslogtreecommitdiff
path: root/pygments/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/util.py')
-rw-r--r--pygments/util.py2
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)))