per page, with , order by , clip by
Results of 1 - 10 of about 434 for instance (0.040 sec.)
デスクリプタ ガイド — Python 3.14.8 ドキュメント 8639
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を ... クリプタを使うには他のクラスのクラス変数として保存します: class A : x = 5 # Regular class attribute y = Ten () # Descriptor instance インタラクティブセッションを使って、通常の属性ルックアップと、デスクリプタのルックアップの違いを見てみましょう。 >>> a = A ... () # Make an instance of class A >>> a . x # Normal attribute lookup 5 >>> a . y # Descriptor lookup 10 a.x 属性ルックアップではドット演算子がク ... bj , objtype = None ): return len ( os . listdir ( obj . dirname )) class Directory : size = DirectorySize () # Descriptor instance def __init__ ( self , dirname ): self . dirname = dirname # Regular instance attribute インタラクティブセッションで見たよう ...
https://man.mtool.work/python/3.14/howto/descriptor.html
デスクリプタ ガイド — Python 3.14.8 ドキュメント 8639
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を ... クリプタを使うには他のクラスのクラス変数として保存します: class A : x = 5 # Regular class attribute y = Ten () # Descriptor instance インタラクティブセッションを使って、通常の属性ルックアップと、デスクリプタのルックアップの違いを見てみましょう。 >>> a = A ... () # Make an instance of class A >>> a . x # Normal attribute lookup 5 >>> a . y # Descriptor lookup 10 a.x 属性ルックアップではドット演算子がク ... bj , objtype = None ): return len ( os . listdir ( obj . dirname )) class Directory : size = DirectorySize () # Descriptor instance def __init__ ( self , dirname ): self . dirname = dirname # Regular instance attribute インタラクティブセッションで見たよう ...
https://man.mtool.work/python/3.14/howto/descriptor.html
3. データモデル — Python 3.14.8 ドキュメント 8213
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 3. データモデル テーマ 自動 ライト ダーク | 3. データモデル ¶ 3.1. オブジェクト、値、および型 ¶ Objects are Python's abstraction for da ... 能オブジェクト (通常はユーザ定義関数) を結びつけます。 Special read-only attributes: method. __self__ ¶ Refers to the class instance object to which the method is bound method. __func__ ¶ Refers to the original function object method. __doc__ ¶ The method ... derlying function object . User-defined method objects may be created when getting an attribute of a class (perhaps via an instance of that class), if that attribute is a user-defined function object or a classmethod object. When an instance method objec ... t is created by retrieving a user-defined function object from a class via one of its instances, its __self__ attribute is the instance, and the method object is said to be bound . The new method's __func__ attribute ...
https://man.mtool.work/python/3.14/reference/datamodel.html
3. データモデル — Python 3.14.8 ドキュメント 8147
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 3. データモデル テーマ 自動 ライト ダーク | 3. データモデル ¶ 3.1. オブジェクト、値、および型 ¶ Objects are Python's abstraction for da ... 能オブジェクト (通常はユーザ定義関数) を結びつけます。 Special read-only attributes: method. __self__ ¶ Refers to the class instance object to which the method is bound method. __func__ ¶ Refers to the original function object method. __doc__ ¶ The method ... derlying function object . User-defined method objects may be created when getting an attribute of a class (perhaps via an instance of that class), if that attribute is a user-defined function object or a classmethod object. When an instance method objec ... t is created by retrieving a user-defined function object from a class via one of its instances, its __self__ attribute is the instance, and the method object is said to be bound . The new method's __func__ attribute ...
https://man.mtool.work/python/3.14/reference/datamodel.html
Type Object Structures — Python 3.14.8 ドキュメント 7079
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... sually called from a class statement). Note that PyType_Type (the metatype) initializes tp_itemsize , which means that its instances (i.e. type objects) must have the ob_size field. PyObject.ob_refcnt The type object's reference count is initialized to 1 ... by the PyObject_HEAD_INIT macro. Note that for statically allocated type objects , the type's instances (objects whose ob_type points back to the type) do not count as references. But for dynamically allocated type objects , ... the instances do count as references. 継承: サブタイプはこのフィールドを継承しません。 PyObject.ob_type 型自体の型、別の言い方をするとメ ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
Type Object Structures — Python 3.14.8 ドキュメント 7079
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » オブジェクト実装サポート (object implementation support) » Type Object Structures テーマ 自動 ライト ダーク | Type Object Structu ... sually called from a class statement). Note that PyType_Type (the metatype) initializes tp_itemsize , which means that its instances (i.e. type objects) must have the ob_size field. PyObject.ob_refcnt The type object's reference count is initialized to 1 ... by the PyObject_HEAD_INIT macro. Note that for statically allocated type objects , the type's instances (objects whose ob_type points back to the type) do not count as references. But for dynamically allocated type objects , ... the instances do count as references. 継承: サブタイプはこのフィールドを継承しません。 PyObject.ob_type 型自体の型、別の言い方をするとメ ...
https://man.mtool.work/python/3.14/c-api/typeobj.html
変更履歴 — Python 3.14.8 ドキュメント 6871
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... n a thread-local bytecode array grows or gains entries after being cached. gh-157672 : Fix tkinter on macOS: creating a Tk instance no longer replaces the Python handlers of SIGINT, SIGHUP and SIGTERM with Tk's handler which exits the process, so Ctrl-C ... d of the wall clock, so adjusting the system clock during the call no longer makes them over- or under-wait. gh-153772 : isinstance() checks against collections.abc classes such as Mapping no longer raise AttributeError when the instance has no __class__ ... e abstract base class machinery now falls back to the object's type in that case, matching the behaviour of the built-in isinstance() . gh-81241 : Fix OSError when importing ctypes from a statically linked interpreter. gh-153603 : Fix a crash in the ISO- ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
xmlrpc.server --- 基本的な XML-RPC サーバー — Python 3.14.8 ドキュメント 6729
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » xmlrpc.server --- 基本的な XML-RPC サーバー テーマ 自動 ライト ダーク | xmlrpc.server --- 基本 ... が使用されます。 バージョン 3.7 で変更: register_function() はデコレーターとして使用できます。 SimpleXMLRPCServer. register_instance ( instance , allow_dotted_names = False ) ¶ オブジェクトを登録します。 オブジェクトは register_function() を使用して登録さ ... れていないメソッド名を公開するのに使われます。 instance に _dispatch() メソッドがあった場合、リクエストされたメソッド名と引数で _dispatch() を呼び出します。 API は def _dispatch( ... 関数は func(*params) のように引数リストを展開して呼び出されます。 _dispatch() の返り値は結果としてクライアントに返されます。 instance に _dispatch() メソッドがない場合、リクエストされたメソッド名にマッチする属性を検索します。 オプション引数 allow_dotted_na ...
https://man.mtool.work/python/3.14/library/xmlrpc.server.html
xmlrpc.server --- 基本的な XML-RPC サーバー — Python 3.14.8 ドキュメント 6729
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネットプロトコルとサポート » xmlrpc.server --- 基本的な XML-RPC サーバー テーマ 自動 ライト ダーク | xmlrpc.server --- 基本 ... が使用されます。 バージョン 3.7 で変更: register_function() はデコレーターとして使用できます。 SimpleXMLRPCServer. register_instance ( instance , allow_dotted_names = False ) ¶ オブジェクトを登録します。 オブジェクトは register_function() を使用して登録さ ... れていないメソッド名を公開するのに使われます。 instance に _dispatch() メソッドがあった場合、リクエストされたメソッド名と引数で _dispatch() を呼び出します。 API は def _dispatch( ... 関数は func(*params) のように引数リストを展開して呼び出されます。 _dispatch() の返り値は結果としてクライアントに返されます。 instance に _dispatch() メソッドがない場合、リクエストされたメソッド名にマッチする属性を検索します。 オプション引数 allow_dotted_na ...
https://man.mtool.work/python/3.14/library/xmlrpc.server.html
整数型オブジェクト (integer object) — Python 3.14.8 ドキュメント 6654
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python/C API reference manual » 具象オブジェクト (concrete object) レイヤ » 整数型オブジェクト (integer object) テーマ 自動 ライト ダーク | 整数型オブジェクト (i ... ong PyLong_AsLong ( PyObject * obj ) ¶ 次に属します: Stable ABI . Return a C long representation of obj . If obj is not an instance of PyLongObject , first call its __index__() method (if present) to convert it to a PyLongObject . もし obj の値が long の ... ( PyObject * obj , int * overflow ) ¶ 次に属します: Stable ABI . Return a C long representation of obj . If obj is not an instance of PyLongObject , first call its __index__() method (if present) to convert it to a PyLongObject . If the value of obj is ... g_AsLongLong ( PyObject * obj ) ¶ 次に属します: Stable ABI . Return a C long long representation of obj . If obj is not an instance of PyLongObject , first call its __index__() method (if present) to convert it to a PyLongObject . もし obj の値が long lo ...
https://man.mtool.work/python/3.14/c-api/long.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT