per page, with , order by , clip by
Results of 1 - 10 of about 36 for pydoc (0.009 sec.)
pydoc --- ドキュメント生成とオンラインヘルプシステム 16974
pydoc --- ドキュメント生成とオンラインヘルプシステム ソースコード: Lib/pydoc.py pydoc モジュールは Python モジュールからドキュメントを自動生成します。 ドキュメントはコンソールにテキストのページとして表示したり、ウェブブラウザーに提供したり、 ... (つまり __doc__ 属性) と、ドキュメント化できるメンバーの docstring を再帰的にたどって生成されます。 docstring がない場合、 pydoc はソースファイル内のクラス、関数、メソッドの定義の直前、またはモジュールの先頭にあるコメント行のブロックから説明を取得しよ ... comments() を参照)。 組み込み関数 help() は、対話型インタープリタでオンラインヘルプシステムを呼び出します。 このシステムは pydoc を使ってドキュメントを生成し、コンソールにテキストで表示します。 同じテキストドキュメントは、オペレーティングシステムのコマ ... ンドプロンプトで pydoc をスクリプトとして実行し、Python インタープリタの外からも表示できます。 例えば、次のコマンドを実行します。 python - m pydo ...
https://man.mtool.work/python/3.14/library/pydoc.html
はじめに 8796
はじめに Python のアプリケーションプログラマー向けインターフェース (API) は、C と C++ のプログラマーに、Python インタープリタへのさまざまなレベルのアクセスを提供します。 C++ からも同様に使えますが、簡潔に Python/C API と呼びます。 Python/C ... と同様ですが、コマンドラインで -E が指定された場合は NULL を返します ( PyConfig.use_environment を参照)。 docstring のマクロ PyDoc_STRVAR ( name , str ) docstring に使える、名前が name の変数を作成します。 Python を docstring なしでビルドした場合 ( --wi ... thout-doc-strings )、値は空文字列になります。 以下はプログラム例です: PyDoc_STRVAR ( pop_doc , "Remove and return the rightmost element." ); static PyMethodDef deque_methods [] = { // ... { "pop" , ... ( PyCFunction ) deque_pop , METH_NOARGS , pop_doc }, // ... } PyDoc_VAR( name ) = PyDoc_STR( str ) に展開されます。 PyDoc_STR ( str ) 指定された文字列に展開されます。 docstring が無効な場合 ...
https://man.mtool.work/python/3.14/c-api/intro.html
2. 拡張の型の定義: チュートリアル 8796
2. 拡張の型の定義: チュートリアル Python では、組み込みの str 型や list 型のような Python コードから操作できる新しい型を C 拡張モジュールの作者が定義できます。 全ての拡張の型のコードはあるパターンに従うのですが、書き始める前に理解しておくべ ... static PyTypeObject CustomType = { . ob_base = PyVarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom オブジェクト" ), . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAU ... static PyTypeObject CustomType = { . ob_base = PyVarObject_HEAD_INIT ( NULL , 0 ) . tp_name = "custom.Custom" , . tp_doc = PyDoc_STR ( "Custom オブジェクト" ), . tp_basicsize = sizeof ( CustomObject ), . tp_itemsize = 0 , . tp_flags = Py_TPFLAGS_DEFAU ... トでつないだ名前です。 この場合、モジュールは custom 、型は Custom なので、型の名前を custom.Custom に設定します。 この型を pydoc や pickle モジュールと互換性のあるものにするには、実際のドット付きインポートパスを使うことが重要です。 . tp_basicsize = si ...
https://man.mtool.work/python/3.14/extending/newtypes_tutorial.html
モジュールのコマンドラインインターフェース (CLI) 8447
モジュールのコマンドラインインターフェース (CLI) 以下のモジュールにはコマンドラインインターフェースがあります。 ast asyncio base64 calendar code compileall cProfile : see profile dis doctest encodings.rot_13 ensurepip filecmp fileinput ftpl ... ib gzip http.server idlelib inspect json mimetypes pdb pickle pickletools platform poplib profile pstats py_compile pyclbr pydoc quopri random runpy site sqlite3 symtable sysconfig tabnanny tarfile this timeit tokenize trace turtledemo unittest uuid v ...
https://man.mtool.work/python/3.14/library/cmdline.html
What's New in Python 2.1 8352
What's New in Python 2.1 著者 : A.M. Kuchling はじめに この記事はPython 2.1の新機能について説明します。Python 2.1には Python 2.0ほど多くの変更点はありませんが、楽しい驚きがあります。2.1はPythonの拡張計画(PEP)を使い動かす最初のリリースであ ... 追加しました。 実行中の Python コードについての情報を取得する inspect.py と、docstring を対話的に HTML やテキストに変換する pydoc.py です。 さらに、自動的にインストールされるようになった Tools/scripts/pydoc は、Python のモジュール名、パッケージ名、クラ ... ス名を指定すると pydoc.py を使ってドキュメントを表示します。 例えば、 pydoc xml.dom は次のように表示します。 Python Library Documentation : packa ... n the Python Library Reference in the section on the xml . dom package . This package contains the following modules : ... pydoc には TK ベースの対話的ヘルプブラウザも含まれています。 pydoc はすぐに病みつきになります。お試しあれ。 単体テストのための 2 ...
https://man.mtool.work/python/3.14/whatsnew/2.1.html
開発ツール 8178
開発ツール この章で紹介されるモジュールはソフトウェアを書くことを支援します。たとえば、 pydoc モジュールはモジュールの内容からドキュメントを生成します。 doctest と unittest モジュールでは、自動的に実行して予想通りの出力が生成されるか確認する ... collections.abc のその他の抽象基底クラスのエイリアス contextlib の抽象基底クラスのエイリアス メジャーな機能の非推奨時系列 pydoc --- ドキュメント生成とオンラインヘルプシステム Python 開発モード Python 開発モードの影響 ResourceWarning の例 Bad file des ...
https://man.mtool.work/python/3.14/library/development.html
What's New In Python 3.4 8178
What's New In Python 3.4 著者 : R. David Murray < rdmurray @ bitdance . com > (編集者) この記事では 3.3 と比較した Python 3.4 の新機能を解説します。 Python 3.4 は2014年3月16日にリリースされました。全詳細については 変更履歴 をご覧ください。 ... ルと Message の新しいサブクラス ( EmailMessage ) が追加され、 MIME を簡単に扱えるようになりました ( bpo-18891 )。 inspect と pydoc が以前よりも遥かに幅広い種類の callable オブジェクトを正しくイントロスペクション出来るようになり、これは Python help() シス ... ) builtin. (Contributed by Nick Coghlan and Claudiu Popa in bpo-18690 and bpo-19078 .) Argument Clinic の導入、 inspect と pydoc になされた他の変更の結果、多くの場合で help() が報告するシグニチャが修正・改善されました。 __length_hint__() が、公式な言語 ... が None ではなく os.waitpid() からの戻り値から取ったステータス値を返すようになりました。 (Contributed by Gregory P. Smith.) pydoc pydoc モジュールがイントロスペクション API inspect.signature() に直接基くようになりました。これによりより幅広く callable オ ...
https://man.mtool.work/python/3.14/whatsnew/3.4.html
Python ドキュメントの目次 8003
Python ドキュメントの目次 What's New in Python What's new in Python 3.14 概要 -- リリースハイライト 新しい機能 PEP 649 と PEP 749 : アノテーションの遅延評価 PEP 734 : 複数インタープリタ機能が標準ライブラリに追加 PEP 750 : テンプレート文字列 ... inspect io json linecache logging.handlers math mimetypes multiprocessing operator os os.path pathlib pdb pickle platform pydoc re socket ssl struct symtable sys sys.monitoring sysconfig tarfile threading tkinter turtle types typing unicodedata unitt ... ashlib http IDLE と idelelib imaplib importlib inspect ipaddress math multiprocessing nntplib os pathlib pdb poplib pprint pydoc random signal smtplib socket time sys tracemalloc typing unicodedata venv xml 最適化 非推奨 削除 Python 3.9への移植 Python ... ib と IDLE importlib io ipaddress itertools locale logging math mimetypes msilib multiprocessing os pathlib pdb py_compile pydoc queue re signal socket socketserver sqlite3 ssl string subprocess sys time tkinter tracemalloc types unicodedata unittest ...
https://man.mtool.work/python/3.14/contents.html
What's New In Python 3.1 7924
What's New In Python 3.1 著者 : Raymond Hettinger この記事では Python 3.0 と比較した Python 3.1 の新機能を説明します。 Python 3.1 は 2009 年 6 月 27 日にリリースされました。 PEP 372: 順序付き辞書 通常の Python 辞書は、 key/value ペアを不定の ... うになりました。 (Suggested by Antoine Pitrou and Jesse Noller. Implemented by Jack Diederich; bpo-5228 .) シンボルのための pydoc ヘルプトピックが追加されました。これで対話環境で help('@') などが期待通りの働きをします (---訳注: 実装としては pydoc_data ... パッケージのこと。 pydoc_data/topics.py に docstring からは生成出来ない、シンボルについてのドキュメントが収められています ---)。 (Contributed by Da ...
https://man.mtool.work/python/3.14/whatsnew/3.1.html
xmlrpc.server --- 基本的な XML-RPC サーバー 7829
xmlrpc.server --- 基本的な XML-RPC サーバー ソースコード: Lib/xmlrpc/server.py xmlrpc.server モジュールは、Python で記述する XML-RPC サーバーの基本的なフレームワークを提供します。 SimpleXMLRPCServer を使うと独立したサーバーを作成でき、 CGIX ... サーバの作成手段を提供します。 HTTP POST リクエストは XML-RPC メソッドの呼び出しとして処理されます。 HTTP GET リクエストは pydoc スタイルの HTML 文書の生成に処理されます。 これによりサーバは自身の web ベースの文書を提供できます。 DocXMLRPCServer. set_ ... クリプトの作成手段を提供します。 HTTP POST リクエストは XML-RCP メソッドの呼び出しとして処理されます。 HTTP GET リクエストは pydoc スタイルの HTML 文書の生成に処理されます。 これによりサーバは自身の web ベースの文書を提供できます。 DocCGIXMLRPCRequestHa ...
https://man.mtool.work/python/3.14/library/xmlrpc.server.html
PREV 1 2 3 4 NEXT