Skip to content

logging.configのドキュメント「ユーザ定義オブジェクト」に見つけた誤訳 #1002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ftnext opened this issue Feb 2, 2025 · 0 comments

Comments

@ftnext
Copy link
Contributor

ftnext commented Feb 2, 2025

概要

特殊なキーワード '.' を指定することもできます。

問題のある箇所 (URLで指定すること)

https://docs.python.org/ja/3/library/logging.config.html#user-defined-objects

問題の詳細

英語はkeywordではなくkeyです
https://docs.python.org/3/library/logging.config.html#user-defined-objects

You can also specify a special key '.' whose value is a dictionary is a mapping of attribute names to values.

「特殊キー '()'」とも訳を合わせられそうです。
特殊キーとして'()''.'の2つがドキュメントに記載されているという理解です

修正案

特殊キー '.' を指定することもできます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant