Python 3.6.5 ドキュメント 検索

phrase: max: clip:
target: order:
Results of 1 - 8 of about 8 for visit (0.021 sec.)
循環参照ガベージコレクションをサポートする — Python 3.6.5 ドキュメント 12941
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... ンドラはこの型の関数パラメータを受け取ります: int (*visitproc) ( PyObject *object , void *arg ) ¶ tp_travers ... e ハンドラに渡されるビジター関数 (visitor function) の型です。この関数は、探索するオブジェ ... ばなりません: int (*traverseproc) ( PyObject *self , visitproc visit , void *arg ) ¶ コンテナオブジェクトのた ... 装では、 self に直接入っている各オブジェクトに対して visit 関数を呼び出さなければなりません。このとき、 visit ...
https://man.plustar.jp/python/c-api/gcsupport.html - [similar]
2. 拡張の型の定義: チュートリアル — Python 3.6.5 ドキュメント 10157
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python インタプリタ ... static int Custom_traverse ( CustomObject * self , visitproc visit , void * arg ) { Py_VISIT ( self -> firs ... t ); Py_VISIT ( self -> last ); return 0 ; } static int Custom_c ... static int Custom_traverse ( CustomObject * self , visitproc visit , void * arg ) { int vret ; if ( self -> ... first ) { vret = visit ( self -> first , arg ); if ( vret != 0 ) return v ...
https://man.plustar.jp/python/extending/newtypes_tutorial.html - [similar]
32.2. ast --- 抽象構文木 — Python 3.6.5 ドキュメント 10157
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... 脈を気にしないような場合に便利です。 class ast. NodeVisitor ¶ 抽象構文木を渡り歩いてビジター関数を見つけたノ ... 呼び出すノード・ビジターの基底クラスです。この関数は visit() メソッドに送られる値を返してもかまいません。 この ... け加えたサブクラスを派生させることを意図しています。 visit ( node ) ¶ ノードを訪れます。デフォルトの実装では ... self.visit_ classname というメソッド (ここで classname はノー ...
https://man.plustar.jp/python/library/ast.html - [similar]
型オブジェクト — Python 3.6.5 ドキュメント 8440
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ ... タンスの Pythonオブジェクトである各メンバに対して Py_VISIT() を呼び出します。例えば、次のコードは _thread 拡張 ... : static int local_traverse ( localobject * self , visitproc visit , void * arg ) { Py_VISIT ( self -> args ... ); Py_VISIT ( self -> kw ); Py_VISIT ( self -> dict ); return ... 0 ; } Py_VISIT() が循環参照になる恐れのあるメンバにだけ呼び出され ...
https://man.plustar.jp/python/c-api/typeobj.html - [similar]
Python 3 への拡張モジュール移植 — Python 3.6.5 ドキュメント 7934
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » Pyth ... 3 static int myextension_traverse ( PyObject * m , visitproc visit , void * arg ) { Py_VISIT ( GETSTATE ( m ...
https://man.plustar.jp/python/howto/cporting.html - [similar]
デザインと歴史 FAQ — Python 3.6.5 ドキュメント 7772
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問 ... み込み関数で特定の名前のメソッドを検索できます: def visit_a ( self , ... ): ... ... def dispatch ( self , va ... lue ): method_name = 'visit_' + str ( value ) method = getattr ( self , method ... _name ) method () メソッドの名前にこの例の visit_ のような接頭辞を使うことを勧めます。このような接頭 ...
https://man.plustar.jp/python/faq/design.html - [similar]
16.1. os --- 雑多なオペレーティングシステムインタフェース — Python 3.6.5 ドキュ... 7446
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... if 'CVS' in dirs : dirs . remove ( 'CVS' ) # don't visit CVS directories 次の例 ( shutil.rmtree() の単純な実 ... if 'CVS' in dirs : dirs . remove ( 'CVS' ) # don't visit CVS directories 次の例では、ツリーをボトムアップで ...
https://man.plustar.jp/python/library/os.html - [similar]
8.1. datetime --- 基本的な日付型および時間型 — Python 3.6.5 ドキュメント 7374
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ ... -date set of DST rules # and timezone definitions, visit the Olson Database (or try pytz): # http://www.twi ...
https://man.plustar.jp/python/library/datetime.html - [similar]
PREV 1 NEXT