summaryrefslogtreecommitdiff
path: root/sphinx/util/osutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/osutil.py')
-rw-r--r--sphinx/util/osutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/osutil.py b/sphinx/util/osutil.py
index d495876cf..f6b13c899 100644
--- a/sphinx/util/osutil.py
+++ b/sphinx/util/osutil.py
@@ -196,7 +196,7 @@ class FileAvoidWrite:
with open(self._path, 'w', encoding='utf-8') as f:
f.write(buf)
- def __enter__(self) -> "FileAvoidWrite":
+ def __enter__(self) -> FileAvoidWrite:
return self
def __exit__(