summaryrefslogtreecommitdiffstats
path: root/docs/build_mantests.py
diff options
context:
space:
mode:
authornmulcahey <nmulcahey@gmail.com>2023-06-05 14:47:42 -0700
committerGitHub <noreply@github.com>2023-06-06 06:47:42 +0900
commitd178ebdc94dddfd565fb523989a88f0a74655b3e (patch)
treed707103ab1e3840350445589cf5bb9bdc19a83bd /docs/build_mantests.py
parentb7511b9b1f98161326a4159ebec443f05d7ec3ea (diff)
[docs] Use yaml.safe_load() in build_*.py scripts (#2432)
Co-authored-by: itchyny <itchyny@cybozu.co.jp>
Diffstat (limited to 'docs/build_mantests.py')
-rwxr-xr-xdocs/build_mantests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/build_mantests.py b/docs/build_mantests.py
index 40f0dccf..d687a103 100755
--- a/docs/build_mantests.py
+++ b/docs/build_mantests.py
@@ -2,7 +2,7 @@
import yaml
with open("content/manual/manual.yml") as f:
- manual = yaml.load(f)
+ manual = yaml.safe_load(f)
for section in manual.get('sections', []):
for entry in section.get('entries', []):
for example in entry.get('examples', []):