Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 65 for obj (0.025 sec.)
10.3. operator --- 関数形式の標準演算子 — Python 3.6.5 ドキュメント 13183
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 定およびブール演算をサポートします: operator. not_ ( obj ) ¶ operator. __not__ ( obj ) ¶ not obj の結果を返 ... en__() メソッドに影響されます。) operator. truth ( obj ) ¶ obj が真の場合 True を返し、そうでない場合 Fal ... 数学演算およびビット単位の演算です: operator. abs ( obj ) ¶ operator. __abs__ ( obj ) ¶ obj の絶対値を返し ... します。 a.__index__() と同等です。 operator. inv ( obj ) ¶ operator. invert ( obj ) ¶ operator. __inv__ ( ...
https://man.plustar.jp/python/library/operator.html - [similar]
整数型オブジェクト (integer object) — Python 3.6.5 ドキュメント 11751
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... レンスマニュアル » 具象オブジェクト (concrete object) レイヤ » 整数型オブジェクト (integer object) ¶ ... umber. Use PyErr_Occurred() to disambiguate. PyLongObject ¶ この PyObject のサブタイプは整数型を表現します ... 。 PyTypeObject PyLong_Type ¶ この PyTypeObject のインスタンスは ... int と同じオブジェクトです。 int PyLong_Check ( PyObject *p ) ¶ 引数が PyLongObject か PyLongObject のサ ...
https://man.plustar.jp/python/c-api/long.html - [similar]
デスクリプタ HowTo ガイド — Python 3.6.5 ドキュメント 11336
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » デス ... ます。 デスクリプタプロトコル ¶ descr.__get__(self, obj, type=None) --> value descr.__set__(self, obj, val ... ue) --> None descr.__delete__(self, obj) --> None これで全てです。これらのメソッドのいずれ ... ソッド名で直接呼ぶことも出来ます。例えば、 d.__get__(obj) です。 または、一般的に、デスクリプタは属性アクセ ... スから自動的に呼び出されます。例えば、 obj.d は obj の辞書から d を探索します。 d がメソッド ...
https://man.plustar.jp/python/howto/descriptor.html - [similar]
3. Defining Extension Types: Assorted Topics — Python 3.6.5 ドキュメント 9733
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... のであるかについて、ざっと説明します。 以下は PyTypeObject の定義です。デバッグビルドでしか使われないいくつ ... かのメンバは省いてあります: typedef struct _typeobject { PyObject_VAR_HEAD const char * tp_name ; /* F ... setattrofunc tp_setattro ; /* Functions to access object as input/output buffer */ PyBufferProcs * tp_as ... tion string */ /* call function for all accessible objects */ traverseproc tp_traverse ; /* delete refere ...
https://man.plustar.jp/python/extending/newtypes.html - [similar]
8.12. reprlib --- もう一つの repr() の実装 — Python 3.6.5 ドキュメント 9432
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... バッガが使うサイズ制限に影響します。 reprlib. repr ( obj ) ¶ これは aRepr の repr() メソッドです。同じ名前の ... で適用されます。デフォルトは 20 です。 Repr. repr ( obj ) ¶ このインスタンスで設定されたフォーマットを使う ... 、組み込み repr() と等価なもの。 Repr. repr1 ( obj , level ) ¶ repr() が使う再帰的な実装。 obj の型を ... どのフォーマットメソッドを呼び出すかを決定し、それに obj と level を渡します。 再帰呼び出しにおいて level の ...
https://man.plustar.jp/python/library/reprlib.html - [similar]
8.8. weakref --- 弱参照 — Python 3.6.5 ドキュメント 9432
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ばサポートを追加できます: class Dict ( dict ): pass obj = Dict ( red = 1 , green = 2 , blue = 3 ) # this o ... のサポート を参照してください。 class weakref. ref ( object [ , callback ] ) ¶ object への弱参照を返します。 ... ッドが発生させる例外と完全に同じ方法で処理されます。 object がハッシュ可能( hashable )ならば、弱参照はハッシ ... ュ可能です。それらは object が削除された後でもそれらのハッシュ値を保持します ...
https://man.plustar.jp/python/library/weakref.html - [similar]
26.7. 2to3 - Python 2 から 3 への自動コード変換 — Python 3.6.5 ドキュメント 9017
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... ピングが行われます。 対象 変換先 operator.isCallable(obj) hasattr(obj, '__call__') operator.sequenceInclude ... s(obj) operator.contains(obj) operator.isSequenceType(ob ... j) isinstance(obj, collections.Sequence) operator.isMappingType(obj) ... isinstance(obj, collections.Mapping) operator.isNumberType(obj) i ...
https://man.plustar.jp/python/library/2to3.html - [similar]
ソート HOW TO — Python 3.6.5 ドキュメント 8960
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » ソー ... . name , self . grade , self . age )) >>> student_objects = [ ... Student ( 'john' , 'A' , 15 ), ... Stu ... ( 'dave' , 'B' , 10 ), ... ] >>> sorted ( student_objects , key = lambda student : student . age ) # sor ... 'B', 12), ('john', 'A', 15)] >>> sorted ( student_objects , key = attrgetter ( 'age' )) [('dave', 'B', 1 ... 'B', 10), ('jane', 'B', 12)] >>> sorted ( student_objects , key = attrgetter ( 'grade' , 'age' )) [('joh ...
https://man.plustar.jp/python/howto/sorting.html - [similar]
古いバッファプロトコル — Python 3.6.5 ドキュメント 8559
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... レンスマニュアル » 抽象オブジェクトレイヤ (abstract objects layer) » 古いバッファプロトコル ¶ バージョン 3 ... あるオブジェクトのバッファビューを取得するために、 PyObject_GetBuffer() (もしくは y* および w* フォーマット ... るときには PyBuffer_Release() を呼び出します。 int PyObject_AsCharBuffer ( PyObject *obj , const char **buf ... る読み出し専用メモリ上の位置へのポインタを返します。 obj 引数は単一セグメントからなる文字バッファインタフェ ...
https://man.plustar.jp/python/c-api/objbuffer.html - [similar]
Argument Clinic How-To — Python 3.6.5 ドキュメント 8559
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Argu ... び出し、最後にその関数のコードが呼ばれます。引数の PyObject *args (と PyObject *kwargs ) は暗黙的に、必要な ... /*[clinic input] Write a pickled representation of obj to the open file. [clinic start generated code]*/ ... kle.Pickler.dump Write a pickled representation of obj to the open file. [clinic start generated code]*/ ... Check the name defined in the PyModuleDef or PyTypeObject as appropriate. When you declare a class, you m ...
https://man.plustar.jp/python/howto/clinic.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT