Skip to content

Commit a00bf2b

Browse files
committed
Use keyword-arguments
1 parent 4eb435e commit a00bf2b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build_docs.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,8 @@ def setup_switchers(
381381
switchers_path = html_root / "_static" / "switchers.js"
382382
switchers_path.write_text(
383383
template.safe_substitute(
384-
{
385-
"LANGUAGES": json.dumps(languages_map),
386-
"VERSIONS": json.dumps(versions_map),
387-
}
384+
LANGUAGES=json.dumps(languages_map),
385+
VERSIONS=json.dumps(versions_map),
388386
),
389387
encoding="UTF-8",
390388
)

0 commit comments

Comments
 (0)