Results of 1 - 8 of about 8 for underscore (0.006 sec.)
- pprint --- データの整形表示 13772
- pprint --- データの整形表示 ソースコード: Lib/pprint.py pprint モジュールは、任意の Python データ構造を、インタープリタへの入力に使える形式で「整形表示」する機能を提供します。 整形するデータ構造に Python の基本的な型以外のオブジェクトが含ま
...pprint. pp ( object , stream = None , indent = 1 , width = 80 , depth = None , * , compact = False , sort_dicts = False , underscore_numbers = False ) object のフォーマットされた表現を出力して、その後に newline を続けます。この関数は、対話型インタプリタの...s ( bool ) -- Trueの場合、辞書は辞書のキー順にソートされて整形されます。そうでなければ挿入順に表示されます(デフォルト)。 underscore_numbers ( bool ) -- Trueの場合、整数は _ で3桁区切りされて表示されます。そうでなければアンダースコアは表示されません(デフ...cursion on list with id=...>, 'spam', 'eggs', 'lumberjack', 'knights', 'ni'] Added in version 3.8. バージョン 3.10 で変更: underscore_numbers 引数が追加されました。 バージョン 3.11 で変更: sys.stdout が None の場合、書き込みを試みなくなりました。 pprint. p... - https://man.mtool.work/python/3.14/library/pprint.html
- codecs --- codec レジストリと基底クラス 8874
- codecs --- codec レジストリと基底クラス ソースコード: Lib/codecs.py このモジュールは、標準的な Python codec (エンコーダとデコーダ) 用の基底クラスを定義し、codec とエラー処理検索プロセスを管理する内部の Python codec レジストリへのアクセスを提
...are expected to take one argument, being the encoding name in all lower case letters with hyphens and spaces converted to underscores, and return a CodecInfo object. In case a search function cannot find a given encoding, it should return None . バージョン...3.9 で変更: Hyphens and spaces are converted to underscore. codecs. unregister ( search_function , / ) codec 検索関数の登録を解除し、レジストリのキャッシュを消去します。 検索関数が登...guages is meant to be exhaustive. Notice that spelling alternatives that only differ in case or use a hyphen instead of an underscore are also valid aliases because they are equivalent when normalized by normalize_encoding() . For example, 'utf-8' is a val... - https://man.mtool.work/python/3.14/library/codecs.html
- mailbox --- 様々な形式のメールボックスを操作する 8495
- mailbox --- 様々な形式のメールボックスを操作する ソースコード: Lib/mailbox.py このモジュールでは二つのクラス Mailbox および Message をディスク上のメールボックスとそこに収められたメッセージへのアクセスと操作のために定義しています。 Mailbox は
...のメールボックス形式で Emacs に付属している Rmail メールユーザエージェントで使われているものです。メッセージの開始は Control-Underscore ( '\037' ) および Control-L ( '\014' ) の二文字を含む行で示されます。メッセージの終了は次のメッセージの開始または最後のメッ...セージの場合には Control-Underscore を含む行で示されます。 Babyl メールボックス中のメッセージには二つのヘッダのセット、オリジナルヘッダといわゆる可視ヘッダ、が... - https://man.mtool.work/python/3.14/library/mailbox.html
- リモートデバッグのアタッチプロトコル 8296
- リモートデバッグのアタッチプロトコル このプロトコルを使うと、外部ツールから実行中の CPython プロセスにアタッチし、Python コードをリモートで実行できます。 別の Python プロセスへのアタッチには、プラットフォームによって追加の権限や設定が必要な
...aders to find the section named PyRuntime in the __DATA segment. On macOS, symbol names are automatically prefixed with an underscore, so the PyRuntime symbol appears as _PyRuntime in the symbol table, but the section name is not affected. 実装例を示します... - https://man.mtool.work/python/3.14/howto/remote_debugging.html
- dataclasses --- データクラス 8296
- dataclasses --- データクラス ソースコード: Lib/dataclasses.py このモジュールは、 __init__() や __repr__() のような 特殊メソッド を生成し、ユーザー定義のクラスに自動的に追加するデコレーターや関数を提供します。このモジュールは元々、 PEP 557 で
...のフィールドがクラス定義に現れた順序です。 @dataclass デコレータは、後述する様々な "ダンダー" メソッド (訳注:dunderはdouble underscoreの略で、メソッド名の前後にアンダースコアが2つ付いているメソッド) をクラスに追加します。クラスに既にこれらのメソッドが存在する... - https://man.mtool.work/python/3.14/library/dataclasses.html
- 4. 実行モデル 8296
- 4. 実行モデル 4.1. プログラムの構造 Python プログラムはコードブロックから構成されます。 ブロック ( block ) は、一つのまとまりとして実行される Python プログラムテキストの断片です。 モジュール、関数本体、そしてクラス定義はブロックであり、対話
...ort statement of the form from ... import * binds all names defined in the imported module, except those beginning with an underscore. This form may only be used at the module level. del 文で指定される対象は、( del の意味付けは、実際は名前の解放 (unbind) で... - https://man.mtool.work/python/3.14/reference/executionmodel.html
- 用語集 8097
- 用語集 >>> 対話型 シェルにおけるデフォルトの Python プロンプトです。インタープリターで対話的に実行されるコード例でよく見られます。 ... 次のものが考えられます: 対話型 ( interactive ) シェルにおいて、インデントされたコードブロック、対応する左
...底クラス で補完することもできます。) その代わり、典型的に hasattr() 判定や EAFP プログラミングを利用します。 dunder 「double underscore(二重アンダースコア)」を表す非公式な略語で、 特殊メソッド について話すときに使います。 たとえば、 __init__ はよく「dunder... - https://man.mtool.work/python/3.14/glossary.html
- What's New In Python 3.10 8097
- What's New In Python 3.10 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と比較した Python 3.10 の新機能を解説します。Python 3.10 は2021年10月4日にリリースされました。全詳細については 変更履歴 をご覧ください。 概要 -- リリースハイラ
...p_os_release() を追加しました。 (Christian Heimes による貢献、 bpo-28468 。) pprint pprint.pprint() に新しいキーワード引数 underscore_numbers を追加しました。 (sblondon による貢献、 bpo-42914 。) pprint が dataclasses.dataclass のインスタンスを整形して表示... - https://man.mtool.work/python/3.14/whatsnew/3.10.html
PREV
1
NEXT