# \[PATCH 1/2\] docs: maintainers\_include: restore compatibility with Python 3.6

- From: Mauro Carvalho Chehab \<mchehab+huawei@kernel.org\>
- Date: 2026-05-16 17:33:41 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2026/05/9013169
- Thread: https://ratatoskr.run/linux-doc/2026/05/9013167/t.md

```text
glob root_dir parameter requires Python 3.10, which is more than
our current Python minimal requirement.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
 Documentation/sphinx/maintainers_include.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/sphinx/maintainers_include.py b/Documentation/sphinx/maintainers_include.py
index be8e566e0363..b8b7282ebe38 100755
--- a/Documentation/sphinx/maintainers_include.py
+++ b/Documentation/sphinx/maintainers_include.py
@@ -143,7 +143,7 @@ class MaintainersParser:
             if not m:
                 return None
 
-            doc_list = glob(m.group(1), root_dir=self.base_dir)
+            doc_list = glob(os.path.join(self.base_dir, m.group(1)))
         else:
             doc_list = [text]
 
-- 
2.54.0

```
