summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ext/support_matrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ext/support_matrix.py b/doc/ext/support_matrix.py
index e0021b2a..0c84c24c 100644
--- a/doc/ext/support_matrix.py
+++ b/doc/ext/support_matrix.py
@@ -101,7 +101,7 @@ class SupportMatrixDirective(rst.Directive):
"support-matrix.ini")
rel_fpath, fpath = env.relfn2path(fname)
with open(fpath) as fp:
- cfg.readfp(fp)
+ cfg.read_file(fp)
# This ensures that the docs are rebuilt whenever the
# .ini file changes