mirror of
https://github.com/python/cpython.git
synced 2025-10-26 11:14:33 +00:00
11 lines
233 B
Python
11 lines
233 B
Python
from gettext import gettext as foo
|
|
|
|
foo('bar')
|
|
|
|
foo('baz', 'qux')
|
|
|
|
# The 't' specifier is not supported, so the following
|
|
# call is extracted as pgettext instead of ngettext.
|
|
foo('corge', 'grault', 1)
|
|
|
|
foo('xyzzy', 'foo', 'foos', 1)
|