Skip to content

Commit 3307a5b

Browse files
committed
Use translators['sphinx'].gettext
1 parent 65f01bb commit 3307a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tools/extensions/pyspecific.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ def run(self):
338338
def expand_version_arg(argument, release):
339339
"""Expand "next" to the current version"""
340340
if argument == 'next':
341-
return sphinx_gettext('{} (unreleased)').format(release)
341+
return translators['sphinx'].gettext('{} (unreleased)').format(release)
342342
return argument
343343

344344

0 commit comments

Comments
 (0)