Results of 1 - 10 of about 49 for Attributes (0.007 sec.)
- xml.sax.xmlreader --- XML パーサーのインターフェース 15605
- xml.sax.xmlreader --- XML パーサーのインターフェース ソースコード: Lib/xml/sax/xmlreader.py 各 SAX パーサは Python モジュールとして XMLReader インターフェースを実装しており、関数 create_parser() を提供しています。この関数は新たなパーサ・オブ
...nputSource オブジェクトの変更を許可されていませんが、コピーを作ってそれを変更することは可能です。 class xml.sax.xmlreader. AttributesImpl ( attrs ) Attributes インターフェースの実装です ( Attributes インターフェース を参照)。 startElement() の呼び出しで要素...するものです。 attrs は属性名から属性値へのマッピングを含む辞書風オブジェクトでなければなりません。 class xml.sax.xmlreader. AttributesNSImpl ( attrs , qnames ) AttributesImpl を名前空間認識型に改良したクラスで、 startElementNS() に渡されます。 AttributesImp...の2要素のタプルを解釈します。 さらに、元の文書に出てくる修飾名を引数として受け取る多くのメソッドを提供します。 このクラスは AttributesNS インターフェース ( AttributesNS インターフェース 参照) の実装です。 XMLReader オブジェクト XMLReader は次のメソッドをサポ... - https://man.mtool.work/python/3.14/library/xml.sax.reader.html
- termios --- POSIX スタイルの端末制御 11379
- termios --- POSIX スタイルの端末制御 このモジュールでは端末 I/O 制御のための POSIX 準拠の関数呼び出しインターフェースを提供します。これら呼び出しのための完全な記述については、 Unix マニュアルページの termios(3) を参照してください。これは PO
...してください。 このモジュールには、以下の関数が定義されています: termios. tcgetattr ( fd ) Return a list containing the tty attributes for file descriptor fd , as follows: [iflag, oflag, cflag, lflag, ispeed, ospeed, cc] where cc is a list of the tty specia...minimum number of characters to read and the timeout in tenths of a second, respectively. termios. tcsetattr ( fd , when , attributes ) ファイル記述子 fd の tty 属性を attributes に設定します。 attributes は tcgetattr() が返すものと同じ形式のリストです。 属... - https://man.mtool.work/python/3.14/library/termios.html
- ast --- 抽象構文木 10972
- ast --- 抽象構文木 ソースコード: Lib/ast.py ast モジュールは、Python の抽象構文を表す木を Python アプリケーションで処理するための機能を提供します。 抽象構文自体は Python のリリースごとに変わる可能性がありますが、このモジュールを使えば、現在
...ames ) | Expr ( expr value ) | Pass | Break | Continue -- col_offset is the byte offset in the utf8 string the parser uses attributes ( int lineno , int col_offset , int ? end_lineno , int ? end_col_offset ) -- BoolOp() can use left & right? expr = BoolOp...| Slice ( expr ? lower , expr ? upper , expr ? step ) -- col_offset is the byte offset in the utf8 string the parser uses attributes ( int lineno , int col_offset , int ? end_lineno , int ? end_col_offset ) expr_context = Load | Store | Del boolop = And |..., expr iter , expr * ifs , int is_async ) excepthandler = ExceptHandler ( expr ? type , identifier ? name , stmt * body ) attributes ( int lineno , int col_offset , int ? end_lineno , int ? end_col_offset ) arguments = ( arg * posonlyargs , arg * args , a... - https://man.mtool.work/python/3.14/library/ast.html
- xml.parsers.expat --- Expat を使用した高速な XML 解析 10157
- xml.parsers.expat --- Expat を使用した高速な XML 解析 注釈 信頼できないデータや、認証されていないデータを解析する場合は、 XML のセキュリティ を参照してください。 xml.parsers.expat モジュールは、妥当性検証を行わない XML パーサー Expat の Pyt
...ます。 context 引数には、後述の ExternalEntityRefHandler() ハンドラー関数に渡された文字列を指定します。 子パーサーの ordered_attributes と specified_attributes には、このパーサーの値が設定されます。 xmlparser. SetParamEntityParsing ( flag ) パラメータエンティ...イトは UTF-8 でエンコードされたテキストを表します。 buffer_text が偽の場合、この属性は意味を持ちません。 xmlparser. ordered_attributes この属性をゼロ以外の整数にすると、報告される(XMLノードの) 属性を辞書型ではなくリスト型にします。属性は文書のテキスト中の出...ットが使われています。) デフォルトでは、この属性はデフォルトでは偽となりますが、いつでも変更可能です。 xmlparser. specified_attributes ゼロ以外の整数にすると、パーザは文書のインスタンスで特定される属性だけを報告し、属性宣言から導出された属性は報告しないよう... - https://man.mtool.work/python/3.14/library/pyexpat.html
- 構造化マークアップツール 8150
- 構造化マークアップツール Python は様々な構造化データマークアップ形式を扱うための、様々なモジュールをサポートしています。これらは標準化一般マークアップ言語 (SGML) およびハイパーテキストマークアップ言語 (HTML)、そして可拡張性マークアップ言語
...ーサーのインターフェース XMLReader オブジェクト IncrementalParser オブジェクト Locator オブジェクト InputSource オブジェクト Attributes インターフェース AttributesNS インターフェース xml.parsers.expat --- Expat を使用した高速な XML 解析 XMLParser オブジェクト... - https://man.mtool.work/python/3.14/library/markup.html
- What's New In Python 3.13 7938
- What's New In Python 3.13 エディタ : Adam Turner と Thomas Wouters この記事では Python 3.12 と比較した Python 3.13 の新機能を解説します。Python 3.13 は2024年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 71
...字に対応しました。この機能は環境変数 PYTHON_COLORS または NO_COLOR で無効化できます。 Python のデータモデルの改善: __static_attributes__ に、クラス本体の関数から self.X の形でアクセスされる属性の名前が格納されるようになりました。 クラス定義の最初の行の行番号...きるようになりました。 (Levi Sabah, Zackery Spytz and Hugo van Kemenade による gh-73965 での貢献。) クラスに新しい __static_attributes__ 属性が追加されました。 コンパイラは、クラス本体の関数から self.<name> の形で代入される属性の名前をタプルにして、この属性...ッドが追加されました。 (Miguel, klappnase and Serhiy Storchaka による gh-72684 での貢献。) tkinter のウィジェットメソッド wm_attributes() で、例えば w.wm_attributes('alpha') のように、属性名の先頭のマイナスを省略してウィンドウ属性を取得できるようになりました... - https://man.mtool.work/python/3.14/whatsnew/3.13.html
- What's New In Python 3.3 7938
- What's New In Python 3.3 この記事では 3.2 と比較した Python 3.3 の新機能を解説します。 Python 3.3 は2012年9月29日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 398 - Python 3.3 リリーススケジュール 概要 -- リリース
...ョンで、エラーメッセージをわかりやすくすることが出来ます: >>> class D : ... def __init__ ( self , extra ): ... self . _extra_attributes = extra ... def __getattr__ ( self , attr ): ... try : ... return self . _extra_attributes [ attr ] ... except KeyError :...を後置しなければ、もとの例外はデフォルトで表示されます: >>> class C : ... def __init__ ( self , extra ): ... self . _extra_attributes = extra ... def __getattr__ ( self , attr ): ... try : ... return self . _extra_attributes [ attr ] ... except KeyError :...を、それをサポートするプラットフォームではナノ秒精度も維持するようになりました。また、Linux ではこれらは「拡張属性 (extended attributes)」もコピーするようになりました。 (Contributed by Larry Hastings in bpo-14127 and bpo-15238 .) いくつかの関数がオプショナル... - https://man.mtool.work/python/3.14/whatsnew/3.3.html
- importlib.metadata -- パッケージメタデータへのアクセス 7742
- importlib.metadata -- パッケージメタデータへのアクセス Added in version 3.8. バージョン 3.10 で変更: importlib.metadata は暫定的なものではなくなりました。 ソースコード: Lib/importlib/metadata/__init__.py importlib.metadata は、インストール済
...EntryPoint.dist attribute (as different Distribution instances do not currently compare equal, even if they have the same attributes) class importlib.metadata. EntryPoints インストール済みのエントリポイントのコレクションの詳細を表します。 見つかったすべて...PackageMetadata PackageMetadata プロトコル の具体的な実装です。 In addition to providing the defined protocol methods and attributes, subscripting the instance is equivalent to calling the get() method. すべての 配布パッケージ はメタデータを含み、 metadat... - https://man.mtool.work/python/3.14/library/importlib.metadata.html
- 拡張モジュールの定義 7546
- 拡張モジュールの定義 A C extension for CPython is a shared library (for example, a .so file on Linux, .pyd DLL on Windows), which is loadable into the Python process (for example, it is compiled with compatible compiler settings), and which
...itself creates the module object -- that is, it does the equivalent of object.__new__() for classes. It also sets initial attributes like __package__ and __loader__ . Afterwards, the module object is initialized using extension-specific code -- the equiva... - https://man.mtool.work/python/3.14/c-api/extension-modules.html
- モジュールオブジェクト (module object) 7546
- モジュールオブジェクト (module object) PyTypeObject PyModule_Type 次に属します: Stable ABI . この PyTypeObject のインスタンスは Python のモジュール型を表します。 Python プログラムには types.ModuleType として公開されています。 int PyModule_C
...odule state -- a piece of memory that is allocated and cleared together with the module object. Unlike the module's Python attributes, Python code cannot replace or delete data stored in module state. type PyModuleDef 次に属します: Stable ABI (すべてのメン...bject to be an instance of PyModule_Type . Any type can be used, as long as it supports setting and getting import-related attributes. However, only PyModule_Type instances may be returned if the PyModuleDef has non- NULL m_traverse , m_clear , m_free ; no... - https://man.mtool.work/python/3.14/c-api/module.html