Skip to content

Commit 9cb9395

Browse files
committed
Cosmetic improvements after review.
Only changes documentation strings, comments, unused imports or blank lines
1 parent 106dd40 commit 9cb9395

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Lib/test/test_tools/test_i18n.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from textwrap import dedent
88
from pathlib import Path
99

10-
from test.support.script_helper import assert_python_ok, assert_python_failure
10+
from test.support.script_helper import assert_python_ok
1111
from test.test_tools import imports_under_tool, skip_if_missing, toolsdir
1212
from test.support.os_helper import temp_cwd, temp_dir
1313

Lib/test/test_tools/test_msgfmt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from test.support.script_helper import assert_python_failure, assert_python_ok
1111
from test.test_tools import skip_if_missing, toolsdir
1212

13+
1314
skip_if_missing('i18n')
1415

1516
data_dir = (Path(__file__).parent / 'msgfmt_data').resolve()
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
:program:`msgfmt.py` is now able to merge more than one single po file into a compiled mo
1+
:program:`msgfmt.py` is now able to merge more than one single po file into a compiled mo
22
file. When an entry exists in more than on input file, the last file wins.
3-
It is also possible to directly call ``make`` more than once

Tools/i18n/msgfmt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ def generate(messages):
105105

106106

107107
def make(filenames, outfile):
108-
"""
108+
""" Compiles one or several po files(s).
109+
109110
filenames is a string or an iterable of strings representing input file(s)
110111
outfile is a string for the name of an input file or None.
111112

0 commit comments

Comments
 (0)