Skip to content

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

Description

@ftnext

概要

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

問題のある箇所 (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つがドキュメントに記載されているという理解です

修正案

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions