summaryrefslogtreecommitdiff
path: root/pygments/unistring.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/unistring.py')
-rw-r--r--pygments/unistring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/unistring.py b/pygments/unistring.py
index 2872985c..7dfd2646 100644
--- a/pygments/unistring.py
+++ b/pygments/unistring.py
@@ -122,7 +122,7 @@ if __name__ == '__main__': # pragma: no cover
c = chr(code)
cat = unicodedata.category(c)
if ord(c) == 0xdc00:
- # Hack to avoid combining this combining with the preceeding high
+ # Hack to avoid combining this combining with the preceding high
# surrogate, 0xdbff, when doing a repr.
c = '\\' + c
elif ord(c) in (0x2d, 0x5b, 0x5c, 0x5d, 0x5e):