Python 3.6.5 ドキュメント 検索
Results of 51 - 60 of about 76 for instance (0.085 sec.)
- 29.6. contextlib --- with 文コンテキスト用ユーティリティ — Python 3.6.5 ドキュ... 6206
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ot work correctly) if the specific context manager instance has already been used in a containing with stateme...
o be desirable behaviour. Using separate ExitStack instances instead of reusing a single instance avoids that...
- https://man.plustar.jp/python/library/contextlib.html - [similar]
- 16.6. logging --- Python 用ロギング機能 — Python 3.6.5 ドキュメント 6206
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
=None , datefmt=None , style='%' ) ¶ Returns a new instance of the Formatter class. The instance is initialize...
ss-level attributes which can be overridden at the instance level when desired. The names of the attributes ar...
- https://man.plustar.jp/python/library/logging.html - [similar]
- 27.3. pdb --- Python デバッガ — Python 3.6.5 ドキュメント 6206
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ます (特に .pdbrc ファイルに置かれたときに): # Print instance variables (usage "pi classInst") alias pi for k in...
t ( "%1." , k , "=" , % 1. __dict__ [ k ]) # Print instance variables in self alias ps pi self unalias name ¶...
- https://man.plustar.jp/python/library/pdb.html - [similar]
- 27.4. Python プロファイラ — Python 3.6.5 ドキュメント 6206
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
rt profile # 1. Apply computed bias to all Profile instances created hereafter. profile . Profile . bias = you...
ias # 2. Apply computed bias to a specific Profile instance. pr = profile . Profile () pr . bias = your_comput...
ed_bias # 3. Specify computed bias in instance constructor. pr = profile . Profile ( bias = your_...
- https://man.plustar.jp/python/library/profile.html - [similar]
- 18.5.2. イベントループ — Python 3.6.5 ドキュメント 6039
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
f ): """Get the event loop. This may be None or an instance of EventLoop. """ loop = super () . get_event_loop...
- https://man.plustar.jp/python/library/asyncio-eventloops.html - [similar]
- 21.18. smtpd --- SMTP サーバー — Python 3.6.5 ドキュメント 6039
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
トを新たに生成します。 conn and addr are as per the instance variables described below. data_size_limit には DA...
- https://man.plustar.jp/python/library/smtpd.html - [similar]
- 26.1. typing --- 型ヒントのサポート — Python 3.6.5 ドキュメント 6039
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
普通の str であることに注意して下さい。 実行時に、 isinstance(x, T) は TypeError を送出するでしょう。一般的に、...
isinstance() と issubclass() は型に対して使用するべきではあり...
, int ]] = {} # class variable damage : int = 10 # instance variable ClassVar は型のみを受け入れ、それ以外は受...
けられません。 ClassVar はクラスそのものではなく、 isinstance() や issubclass() で使うべきではありません。 Class...
- https://man.plustar.jp/python/library/typing.html - [similar]
- What's New in Python 2.3 — Python 3.6.5 ドキュメント 6039
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
obj = [] >>> hasattr ( obj , 'append' ) True >>> isinstance ( obj , list ) True >>> isinstance ( obj , tuple )...
f , i ): ... def __getitem__ ( self , item ): if isinstance ( item , slice ): indices = item . indices ( len (...
るのではなく長整数を返すようになっています。これは isinstance(int(expression), int) が偽を返すかもしれないという...
ong the lines of those relating to assigning to an instance's __class__ attribute. 文字列に関する変更 ¶ in 演算...
- https://man.plustar.jp/python/whatsnew/2.3.html - [similar]
- プログラミング FAQ — Python 3.6.5 ドキュメント 5859
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問
...
): ... def do_bar ( self ): ... f = getattr ( foo_instance , 'do_' + opname ) f () locals() や eval() を使って...
であるかを調べるにはどうしますか? ¶ ビルトイン関数 isinstance(obj, cls) を使ってください。クラスのタプルを与えて...
isinstance(obj, (class1, class2, ...)) のようにすれば、あるオ...
数のクラスのオブジェクトであるかを調べられますし、 isinstance(obj, str) や isinstance(obj, (int, float, complex)...
- https://man.plustar.jp/python/faq/programming.html - [similar]
- 16.10. curses --- 文字セル表示を扱うための端末操作 — Python 3.6.5 ドキュメント 5859
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
nit_pair(x, curses.COLOR_RED, -1) initializes, for instance, color pair x to a red foreground color on the def...
e containing window, with coordinates (0, 0) . The instance's stripspaces flag is initially on. Textbox オブジ...
- https://man.plustar.jp/python/library/curses.html - [similar]