summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/conf.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 18a4ecf..8c1da89 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,4 +1,3 @@
-import codecs
import os
import re
@@ -11,7 +10,7 @@ def read(*parts):
resulting file. Assume UTF-8 encoding.
"""
here = os.path.abspath(os.path.dirname(__file__))
- with codecs.open(os.path.join(here, *parts), "rb", "utf-8") as f:
+ with open(os.path.join(here, *parts), encoding="utf-8") as f:
return f.read()