Results of 1 - 10 of about 18 for plural (0.037 sec.)
- gettext --- 多言語国際化サービス — Python 3.14.8 ドキュメント 13332
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 国際化 » gettext --- 多言語国際化サービス テーマ 自動 ライト ダーク | gettext --- 多言語国際化サービス ¶ ソースコード: Lib/gettext.
...main , message , / ) ¶ gettext() と同様ですが、指定された domain からメッセージを探します。 gettext. ngettext ( singular , plural , n , / ) ¶ gettext() と同様ですが、複数形を考慮しています。 翻訳が見つかった場合、複数形の選択公式を n に適用し、その結果...(言語によっては二つ以上の複数形があります)。 翻訳が見つからなかった場合、 n が 1 なら singular を返します; そうでない場合 plural を返します。 複数形の選択公式はカタログのヘッダから取得されます。 選択公式は自由変数 n を持つ C または Python の式です; そ...様々な言語における選択公式については GNU gettext ドキュメント を参照してください。 gettext. dngettext ( domain , singular , plural , n , / ) ¶ ngettext() と同様ですが、指定された domain からメッセージを探します。 gettext. pgettext ( context , message ,... - https://man.mtool.work/python/3.14/library/gettext.html
- gettext --- 多言語国際化サービス — Python 3.14.8 ドキュメント 13332
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 国際化 » gettext --- 多言語国際化サービス テーマ 自動 ライト ダーク | gettext --- 多言語国際化サービス ¶ ソースコード: Lib/gettext.
...main , message , / ) ¶ gettext() と同様ですが、指定された domain からメッセージを探します。 gettext. ngettext ( singular , plural , n , / ) ¶ gettext() と同様ですが、複数形を考慮しています。 翻訳が見つかった場合、複数形の選択公式を n に適用し、その結果...(言語によっては二つ以上の複数形があります)。 翻訳が見つからなかった場合、 n が 1 なら singular を返します; そうでない場合 plural を返します。 複数形の選択公式はカタログのヘッダから取得されます。 選択公式は自由変数 n を持つ C または Python の式です; そ...様々な言語における選択公式については GNU gettext ドキュメント を参照してください。 gettext. dngettext ( domain , singular , plural , n , / ) ¶ ngettext() と同様ですが、指定された domain からメッセージを探します。 gettext. pgettext ( context , message ,... - https://man.mtool.work/python/3.14/library/gettext.html
- Logging クックブック — Python 3.14.8 ドキュメント 8596
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に
...import logging logger = logging . getLogger ( __name__ ) def command ( options ): n = len ( options . names ) if n == 1 : plural = '' services = ' \' %s \' ' % options . names [ 0 ] else : plural = 's' services = ', ' . join ( ' \' %s \' ' % name for...%s ' , services ) # actually do the command processing here ... logger . info ( 'Stopped the %s service %s .' , services , plural ) 同様に、再起動のコマンドは次の通りです: # restart.py import logging logger = logging . getLogger ( __name__ ) def comman...d ( options ): n = len ( options . names ) if n == 1 : plural = '' services = ' \' %s \' ' % options . names [ 0 ] else : plural = 's' services = ', ' . join ( ' \' %s \' ' % name for... - https://man.mtool.work/python/3.14/howto/logging-cookbook.html
- Logging クックブック — Python 3.14.8 ドキュメント 8596
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » Logging クックブック テーマ 自動 ライト ダーク | Logging クックブック ¶ Author : Vinay Sajip <vinay_sajip at red-dove dot com> このページは、過去に
...import logging logger = logging . getLogger ( __name__ ) def command ( options ): n = len ( options . names ) if n == 1 : plural = '' services = ' \' %s \' ' % options . names [ 0 ] else : plural = 's' services = ', ' . join ( ' \' %s \' ' % name for...%s ' , services ) # actually do the command processing here ... logger . info ( 'Stopped the %s service %s .' , services , plural ) 同様に、再起動のコマンドは次の通りです: # restart.py import logging logger = logging . getLogger ( __name__ ) def comman...d ( options ): n = len ( options . names ) if n == 1 : plural = '' services = ' \' %s \' ' % options . names [ 0 ] else : plural = 's' services = ', ' . join ( ' \' %s \' ' % name for... - https://man.mtool.work/python/3.14/howto/logging-cookbook.html
- Pending removal in future versions — Python 3.14.8 ドキュメント 8424
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in future versions テーマ 自動 ライト ダーク | Pending removal in future versions ¶ The following APIs will be removed in the future, although there is current
...me.now(tz=datetime.UTC) . utcfromtimestamp() : use datetime.datetime.fromtimestamp(timestamp, tz=datetime.UTC) . gettext : Plural value must be an integer. importlib : cache_from_source() debug_override parameter is deprecated: use the optimization par... - https://man.mtool.work/python/3.14/deprecations/pending-removal-in-future.html
- Pending removal in future versions — Python 3.14.8 ドキュメント 8424
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » Pending removal in future versions テーマ 自動 ライト ダーク | Pending removal in future versions ¶ The following APIs will be removed in the future, although there is current
...me.now(tz=datetime.UTC) . utcfromtimestamp() : use datetime.datetime.fromtimestamp(timestamp, tz=datetime.UTC) . gettext : Plural value must be an integer. importlib : cache_from_source() debug_override parameter is deprecated: use the optimization par... - https://man.mtool.work/python/3.14/deprecations/pending-removal-in-future.html
- 非推奨 — Python 3.14.8 ドキュメント 7961
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 非推奨 テーマ 自動 ライト ダーク | 非推奨 ¶ Pending removal in Python 3.15 ¶ The import system: Setting __cached__ on a module while failing to set __spec__.cach
...me.now(tz=datetime.UTC) . utcfromtimestamp() : use datetime.datetime.fromtimestamp(timestamp, tz=datetime.UTC) . gettext : Plural value must be an integer. importlib : cache_from_source() debug_override parameter is deprecated: use the optimization par... - https://man.mtool.work/python/3.14/deprecations/
- What's New In Python 3.13 — Python 3.14.8 ドキュメント 7961
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.13 テーマ 自動 ライト ダーク | What's New In Python 3.13 ¶ エディタ : Adam Turner と Thomas Wouters この記事では Py
...y Irit Katriel in gh-109319 .) gettext : Deprecate non-integer numbers as arguments to functions and methods that consider plural forms in the gettext module, even if no translation was found. (Contributed by Serhiy Storchaka in gh-88434 .) glob : Depr...me.now(tz=datetime.UTC) . utcfromtimestamp() : use datetime.datetime.fromtimestamp(timestamp, tz=datetime.UTC) . gettext : Plural value must be an integer. importlib : cache_from_source() debug_override parameter is deprecated: use the optimization par... - https://man.mtool.work/python/3.14/whatsnew/3.13.html
- 変更履歴 — Python 3.14.8 ドキュメント 7961
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...too deeply nested source, instead of propagating it or printing a traceback of the REPL internals. gh-157451 : Fix gettext plural form selection when the Plural-Forms expression combines the unary ! operator with a binary operator, for example !n + 1 o...raise a more informative message when stdout=STDOUT . gh-117225 : doctest: only print "and X failed" when non-zero, don't pluralise "1 items". Patch by Hugo van Kemenade. gh-117205 : Speed up compileall.compile_dir() by 20% when using multiprocessing...precise in pdb gh-88434 : Emit deprecation warning for non-integer numbers in gettext functions and methods that consider plural forms even if the translation was not found. gh-110395 : Ensure that select.kqueue() objects correctly appear as closed in... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- 非推奨 — Python 3.14.8 ドキュメント 7961
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » 非推奨 テーマ 自動 ライト ダーク | 非推奨 ¶ Pending removal in Python 3.15 ¶ The import system: Setting __cached__ on a module while failing to set __spec__.cach
...me.now(tz=datetime.UTC) . utcfromtimestamp() : use datetime.datetime.fromtimestamp(timestamp, tz=datetime.UTC) . gettext : Plural value must be an integer. importlib : cache_from_source() debug_override parameter is deprecated: use the optimization par... - https://man.mtool.work/python/3.14/deprecations/