per page, with , order by , clip by
Results of 1 - 9 of about 9 for printed (0.007 sec.)
The Python Profilers 13930
The Python Profilers Source code: Lib/profile.py and Lib/pstats.py Introduction to the profilers cProfile and profile provide deterministic profiling of Python programs. A profile is a set of statistics that describes how often and for how ... umber of calls. Note that when the function does not recurse, these two values are the same, and only the single figure is printed. Instead of printing the output at the end of the profile run, you can save the results to a file by specifying a filename ... the module names. The sort_stats() method sorted all the entries according to the standard module/line/name string that is printed. The print_stats() method printed out all the statistics. You might try the following sort calls: p . sort_stats ( SortKey ... ulled down to 50% (re: .5 ) of its original size, then only lines containing init are maintained, and that sub-sub-list is printed. If you wondered what functions called the above functions, you could now ( p is still sorted according to the last criter ...
https://man.mtool.work/python/3.14/library/profile.html
atexit --- 終了ハンドラー 9365
atexit --- 終了ハンドラー atexit モジュールは、 終了ハンドラー を登録・解除する関数を定義します。 終了ハンドラーは、プログラムの正常終了時 (例えば sys.exit() が呼び出されたときや、メインモジュールの実行が完了したとき)、より一般的には interp ... 後で行う必要があるという想定に基づいています。 If an exception is raised during execution of an exit handler, a traceback is printed (unless SystemExit is raised) and the exception information is saved. After all exit handlers have had a chance to run, th ...
https://man.mtool.work/python/3.14/library/atexit.html
Python 2.3 のメソッド解決順序 8610
Python 2.3 のメソッド解決順序 注釈 これは公式ドキュメントの付録として提供する歴史的な文書です。 ここで説明するメソッド解決順序は Python 2.3 で 導入 されましたが、Python 3 を含む後のバージョンでも使われています。 著者: Michele Simionato 。 概 ... アルゴリズム (筆者が読みやすく変更)。""" class __metaclass__ ( type ): "All classes are metamagically modified to be nicely printed" __repr__ = lambda cls : cls . __name__ class ex_2 : "Serious order disagreement" #From Guido class O : pass class X ( O ) ...
https://man.mtool.work/python/3.14/howto/mro.html
はじめに 8358
はじめに Python のアプリケーションプログラマー向けインターフェース (API) は、C と C++ のプログラマーに、Python インタープリタへのさまざまなレベルのアクセスを提供します。 C++ からも同様に使えますが、簡潔に Python/C API と呼びます。 Python/C ... adding two extra fields to every PyObject . Total allocations are tracked as well. Upon exit, all existing references are printed. (In interactive mode this happens after every statement run by the interpreter.) より詳しい情報については、Pythonのソース ...
https://man.mtool.work/python/3.14/c-api/intro.html
組み込み関数 8106
組み込み関数 Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できます。それらをここにアルファベット順に挙げます。 組み込み関数 A abs() aiter() all() anext() any() ascii() B bin() bool() breakpoint() bytearray() bytes( ... single interactive statement (in the latter case, expression statements that evaluate to something other than None will be printed). It can also be 'func_type' if source consists of a function type signature, for example (int) -> str ; see ast.parse() f ...
https://man.mtool.work/python/3.14/builtins/functions.html
ast --- 抽象構文木 8106
ast --- 抽象構文木 ソースコード: Lib/ast.py ast モジュールは、Python の抽象構文を表す木を Python アプリケーションで処理するための機能を提供します。 抽象構文自体は Python のリリースごとに変わる可能性がありますが、このモジュールを使えば、現在 ... ると表示できます。 indent が非負の整数または文字列の場合、ツリーは指定されたインデントレベルで整形されて出力されます (pretty-printed)。インデントレベルがゼロ、負の数、または "" の場合は改行だけを挿入します。 None (デフォルト値) は単一行での表記になります。 ...
https://man.mtool.work/python/3.14/library/ast.html
doctest --- 対話型の Python の例をテストする 8106
doctest --- 対話型の Python の例をテストする ソースコード: Lib/doctest.py doctest モジュールは Python の対話セッションに見えるテキストを探し、そのセッションを実行して記載どおりに動作するか検証します。 主な使い方は次のとおりです。 モジュール ... +------+ +---------+ | module | -- DocTestFinder -> | DocTest | -- DocTestRunner -> results +------+ | ^ +---------+ | ^ ( printed ) | | | Example | | | v | | ... | v | DocTestParser | Example | OutputChecker +---------+ DocTest オブジェクト class docte ...
https://man.mtool.work/python/3.14/library/doctest.html
inspect --- 活動中のオブジェクトを調査する 8106
inspect --- 活動中のオブジェクトを調査する ソースコード: Lib/inspect.py inspect モジュールは、モジュール、クラス、メソッド、関数、トレースバック、フレームオブジェクト、コードオブジェクトなど、実行中のオブジェクトの情報を取得する便利な関数を ... y default, accepts the name of a module and prints the source of that module. A class or function within the module can be printed instead by appended a colon and the qualified name of the target object. --details ソースコードの代わりに、指定されたオブジ ...
https://man.mtool.work/python/3.14/library/inspect.html
変更履歴 8106
変更履歴 次の Python バージョン リリース日: XXXX-XX-XX セキュリティ gh-160499 : Fix unbounded memory growth in asyncio TLS connections when a peer stops reading but keeps sending records that make OpenSSL generate its own replies (such as T ... platforms except macOS) when the installation prefix contains spaces or other characters special to the shell or sed : it printed an empty --prefix and wrong --includes / --ldflags paths while exiting successfully. The script now also exits with status ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV 1 NEXT