File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1773,7 +1773,7 @@ Tests
17731773Tools/Demos
17741774-----------
17751775
1776- - Issue #5464: Implement plural forms in msgfmt.py.
1776+ - Issue #5464, #8974 : Implement plural forms in msgfmt.py.
17771777
17781778- iobench (a file I/O benchmark) and ccbench (a concurrency benchmark) were
17791779 added to the `Tools/` directory. They were previously living in the
Original file line number Diff line number Diff line change @@ -165,15 +165,15 @@ def make(filename, outfile):
165165 section = STR
166166 if l .startswith ('msgstr[' ):
167167 if not is_plural :
168- print (sys . stderr , 'plural without msgid_plural on %s:%d' % (infile , lno ),
168+ print ('plural without msgid_plural on %s:%d' % (infile , lno ),
169169 file = sys .stderr )
170170 sys .exit (1 )
171171 l = l .split (']' , 1 )[1 ]
172172 if msgstr :
173173 msgstr += b'\0 ' # Separator of the various plural forms
174174 else :
175175 if is_plural :
176- print (sys . stderr , 'indexed msgstr required for plural on %s:%d' % (infile , lno ),
176+ print ('indexed msgstr required for plural on %s:%d' % (infile , lno ),
177177 file = sys .stderr )
178178 sys .exit (1 )
179179 l = l [6 :]
You can’t perform that action at this time.
0 commit comments