Results of 1 - 10 of about 56 for ordering (0.005 sec.)
- The Python 2.3 Method Resolution Order — Python 3.14.8 ドキュメント 14424
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » The Python 2.3 Method Resolution Order テーマ 自動 ライト ダーク | The Python 2.3 Method Resolution Order ¶ 注釈 This is a historical document, pr
...who sent me their support. Paul Foley who pointed out various imprecisions and made me to add the part on local precedence ordering. David Goodger for help with the formatting in reStructuredText. David Mertz for help with the editing. Finally, Guido van...e linearization is more cumbersome, since it is more difficult to construct a linearization that respects local precedence ordering and monotonicity . I will discuss the local precedence ordering later, but I can give the definition of monotonicity here....aive programmer from creating ambiguous hierarchies. Python 2.2 instead does not raise an exception, but chooses an ad hoc ordering (CABXYO in this case). The C3 Method Resolution Order ¶ Let me introduce a few simple notations which will be useful for t... - https://man.mtool.work/python/3.14/howto/mro.html
- The Python 2.3 Method Resolution Order — Python 3.14.8 ドキュメント 13820
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » The Python 2.3 Method Resolution Order テーマ 自動 ライト ダーク | The Python 2.3 Method Resolution Order ¶ 注釈 This is a historical document, pr
...who sent me their support. Paul Foley who pointed out various imprecisions and made me to add the part on local precedence ordering. David Goodger for help with the formatting in reStructuredText. David Mertz for help with the editing. Finally, Guido van...e linearization is more cumbersome, since it is more difficult to construct a linearization that respects local precedence ordering and monotonicity . I will discuss the local precedence ordering later, but I can give the definition of monotonicity here....aive programmer from creating ambiguous hierarchies. Python 2.2 instead does not raise an exception, but chooses an ad hoc ordering (CABXYO in this case). The C3 Method Resolution Order ¶ Let me introduce a few simple notations which will be useful for t... - https://man.mtool.work/python/3.14/howto/mro.html
- struct --- バイト列をパックされたバイナリデータとして解釈する — Python 3.14.8 ... 9680
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » バイナリデータ処理 » struct --- バイト列をパックされたバイナリデータとして解釈する テーマ 自動 ライト ダーク | struct --- バイト列を
...unpacking. In contrast, when communicating data between external sources, the programmer is responsible for defining byte ordering and padding between elements. See バイトオーダ、サイズ、アラインメント for details. Several struct functions (and methods...bytes of a packed struct correspond exactly to the memory layout of the corresponding C struct. Whether to use native byte ordering and padding or standard formats depends on the application. これに代わって、フォーマット文字列の最初の文字を使って、バイト...produces as that depends on the platform and compiler. Pack and unpack integers of three different sizes, using big endian ordering: >>> from struct import * >>> pack ( ">bhl" , 1 , 2 , 3 ) b'\x01\x00\x02\x00\x00\x00\x03' >>> unpack ( '>bhl' , b ' \x01\x... - https://man.mtool.work/python/3.14/library/struct.html
- struct --- バイト列をパックされたバイナリデータとして解釈する — Python 3.14.8 ... 9680
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » バイナリデータ処理 » struct --- バイト列をパックされたバイナリデータとして解釈する テーマ 自動 ライト ダーク | struct --- バイト列を
...unpacking. In contrast, when communicating data between external sources, the programmer is responsible for defining byte ordering and padding between elements. See バイトオーダ、サイズ、アラインメント for details. Several struct functions (and methods...bytes of a packed struct correspond exactly to the memory layout of the corresponding C struct. Whether to use native byte ordering and padding or standard formats depends on the application. これに代わって、フォーマット文字列の最初の文字を使って、バイト...produces as that depends on the platform and compiler. Pack and unpack integers of three different sizes, using big endian ordering: >>> from struct import * >>> pack ( ">bhl" , 1 , 2 , 3 ) b'\x01\x00\x02\x00\x00\x00\x03' >>> unpack ( '>bhl' , b ' \x01\x... - https://man.mtool.work/python/3.14/library/struct.html
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 8148
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...user_function オプションが追加されました。 バージョン 3.9 で変更: Added the function cache_parameters() @ functools. total_ordering ¶ ひとつ以上の拡張順序比較メソッド (rich comparison ordering methods) を定義したクラスを受け取り、残りを実装するクラスデコ...of __lt__() , __le__() , __gt__() , or __ge__() . In addition, the class should supply an __eq__() method. 例えば: @total_ordering class Student : def _is_valid_operand ( self , other ): return ( hasattr ( other , "lastname" ) and hasattr ( other , "fir...at have been declared in the class or its superclasses . Meaning that if a superclass defines a comparison operator, total_ordering will not implement it again, even if the original method is abstract. Added in version 3.2. バージョン 3.4 で変更: Returni... - https://man.mtool.work/python/3.14/library/functools.html
- functools --- 高階関数と呼び出し可能オブジェクトの操作 — Python 3.14.8 ドキュメ... 8148
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 関数型プログラミング用モジュール » functools --- 高階関数と呼び出し可能オブジェクトの操作 テーマ 自動 ライト ダーク | functools ---
...user_function オプションが追加されました。 バージョン 3.9 で変更: Added the function cache_parameters() @ functools. total_ordering ¶ ひとつ以上の拡張順序比較メソッド (rich comparison ordering methods) を定義したクラスを受け取り、残りを実装するクラスデコ...of __lt__() , __le__() , __gt__() , or __ge__() . In addition, the class should supply an __eq__() method. 例えば: @total_ordering class Student : def _is_valid_operand ( self , other ): return ( hasattr ( other , "lastname" ) and hasattr ( other , "fir...at have been declared in the class or its superclasses . Meaning that if a superclass defines a comparison operator, total_ordering will not implement it again, even if the original method is abstract. Added in version 3.2. バージョン 3.4 で変更: Returni... - https://man.mtool.work/python/3.14/library/functools.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 8000
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...through an object's deallocation function. The critical section API avoids potential deadlocks due to reentrancy and lock ordering by allowing the runtime to temporarily suspend the critical section if the code triggered by the finalizer blocks and call...s a and b and begins a critical section. The locks are acquired in a consistent order (lowest address first) to avoid lock ordering deadlocks. In the free-threaded build, this macro expands to: { PyCriticalSection2 _py_cs2 ; PyCriticalSection2_Begin ( &... - https://man.mtool.work/python/3.14/c-api/synchronization.html
- 同期プリミティブ — Python 3.14.8 ドキュメント 8000
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 同期プリミティブ テーマ 自動 ライト ダーク | 同期プリミティブ ¶ The C-API provides a basic mutual exclusion lock. type PyMutex ¶
...through an object's deallocation function. The critical section API avoids potential deadlocks due to reentrancy and lock ordering by allowing the runtime to temporarily suspend the critical section if the code triggered by the finalizer blocks and call...s a and b and begins a critical section. The locks are acquired in a consistent order (lowest address first) to avoid lock ordering deadlocks. In the free-threaded build, this macro expands to: { PyCriticalSection2 _py_cs2 ; PyCriticalSection2_Begin ( &... - https://man.mtool.work/python/3.14/c-api/synchronization.html
- The Python Profilers — Python 3.14.8 ドキュメント 7853
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Debugging and Profiling » The Python Profilers テーマ 自動 ライト ダーク | The Python Profilers ¶ Source code: Lib/profile.py and L
...ly ignored. Added in version 3.7: Added the SortKey enum. reverse_order ( ) ¶ This method for the Stats class reverses the ordering of the basic list within the object. Note that by default ascending vs descending order is properly selected based on the...) ¶ This method for the Stats class prints a list of all functions that called each function in the profiled database. The ordering is identical to that provided by print_stats() , and the definition of the restricting argument is also identical. Each ca...by the indicated function. Aside from this reversal of direction of calls (re: called vs was called by), the arguments and ordering are identical to the print_callers() method. get_stats_profile ( ) ¶ This method returns an instance of StatsProfile, whic... - https://man.mtool.work/python/3.14/library/profile.html
- xml.etree.ElementTree --- ElementTree XML API — Python 3.14.8 ドキュメント 7853
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 構造化マークアップツール » xml.etree.ElementTree --- ElementTree XML API テーマ 自動 ライト ダーク | xml.etree.ElementTree --- Elem
...generates a more constrained XML representation. The main restrictions regard the placement of namespace declarations, the ordering of attributes, and ignorable whitespace. This function takes an XML data string ( xml_data ) or a file path or file-like o...names that should not be serialised In the option list above, "a set" refers to any collection or iterable of strings, no ordering is expected. Added in version 3.8. xml.etree.ElementTree. Comment ( text = None ) ¶ Comment element factory. This factory...ributes of elements was artificially made predictable by sorting the attributes by their name. Based on the now guaranteed ordering of dicts, this arbitrary reordering was removed in Python 3.8 to preserve the order in which attributes were originally pa... - https://man.mtool.work/python/3.14/library/xml.etree.elementtree.html