Python 3.6.5 ドキュメント 検索
Results of 1 - 10 of about 21 for factory (0.004 sec.)
- 19.1.2. email.parser: 電子メールメッセージのパース — Python 3.6.5 ドキュメント 13344
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...eedParser : class email.parser. BytesFeedParser ( _factory=None , * , policy=policy.compat32 ) ¶ Create a Byt...esFeedParser instance. Optional _factory is a no-argument callable; if not specified use th...e message_factory from the policy . Call _factory whenever a new mes...email package and provides Message as the default factory. All other policies provide EmailMessage as the de... - https://man.plustar.jp/python/library/email.parser.html - [similar]
- 18.5.1. 基底イベントループ — Python 3.6.5 ドキュメント 11365
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...バージョン 3.4.2 で追加. AbstractEventLoop. set_task_factory ( factory ) ¶ AbstractEventLoop.create_task() が使...用するタスクファクトリーを設定します。 factory が None の場合デフォルトのタスクファクトリーが設定...されます。 factory が 呼び出し可能オブジェクト の場合、 (loop, coro)...バージョン 3.4.4 で追加. AbstractEventLoop. get_task_factory ( ) ¶ タスクファクトリーを返します。デフォルトのも... - https://man.plustar.jp/python/library/asyncio-eventloop.html - [similar]
- 12.6. sqlite3 --- SQLite データベースに対する DB-API 2.0 インタフェース — Pytho... 10537
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...tect_types , isolation_level , check_same_thread , factory , cached_statements , uri ] ) ¶ ファイル database...います。しかし、 Connection クラスを継承したクラスを factory パラメータに渡して connect() にそのクラスを使わせる...ドオンリー属性です。 バージョン 3.2 で追加. cursor ( factory=Cursor ) ¶ cursor メソッドはオション引数 factory を...す。 [1] を見てください。 バージョン 3.2 で追加. row_factory ¶ この属性を変更して、カーソルと元の行をタプル形式... - https://man.plustar.jp/python/library/sqlite3.html - [similar]
- 19.4. mailbox --- 様々な形式のメールボックス操作 — Python 3.6.5 ドキュメント 9911
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
....1.1. Maildir ¶ class mailbox. Maildir ( dirname , factory=None , create=True ) ¶ Maildir 形式のメールボックス...のための Mailbox のサブクラス。パラメータ factory は呼び出し可能オブジェクトで (バイナリモードで開か...メッセージ表現を受け付けて好みの表現を返すものです。 factory が None ならば、 MaildirMessage がデフォルトのメッ...ます。 19.4.1.2. mbox ¶ class mailbox. mbox ( path , factory=None , create=True ) ¶ mbox 形式のメールボックスの... - https://man.plustar.jp/python/library/mailbox.html - [similar]
- 8.3. collections --- コンテナデータ型 — Python 3.6.5 ドキュメント 9792
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...ェクト ¶ class collections. defaultdict ( [ default_factory [ , ... ] ] ) ¶ 新しいディクショナリ様のオブジェク...ては以下では省略されています。 1つ目の引数は default_factory 属性の初期値です。デフォルトは None です。残りの引...を実装しています: __missing__ ( key ) ¶ もし default_factory 属性が None であれば、このメソッドは KeyError 例外...を、 key を引数として発生させます。 もし default_factory 属性が None でない場合、このメソッドは引数なしで呼... - https://man.plustar.jp/python/library/collections.html - [similar]
- 19.1.4. email.policy: ポリシーオブジェクト — Python 3.6.5 ドキュメント 9691
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...バージョン 3.5 で追加: mangle_from_ 引数。 message_factory ¶ A factory function for constructing a new empty...7 and RFC 5322 . The default value for the message_factory attribute is EmailMessage . In addition to the set...lues are refolded. デフォルトは long です。 header_factory ¶ A callable that takes two arguments, name and va...lass that represents that header. A default header_factory (see headerregistry ) is provided that supports cu... - https://man.plustar.jp/python/library/email.policy.html - [similar]
- 19.1.6. email.headerregistry: カスタムヘッダーオブジェクト — Python 3.6.5 ドキ... 9065
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...present a given header is determined by the header_factory of the policy in effect when the headers are creat...ed. This section documents the particular header_factory implemented by the email package for handling RFC...and value are passed to BaseHeader from the header_factory call. The string value of any header object is the...'). This is exactly the value passed in the header_factory call for name ; that is, case is preserved. defect... - https://man.plustar.jp/python/library/email.headerregistry.html - [similar]
- 18.5.6. サブプロセス — Python 3.6.5 ドキュメント 8338
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...tine AbstractEventLoop. subprocess_exec ( protocol_factory , *args , stdin=subprocess.PIPE , stdout=subproces...exec() 引数として複数の文字列を取ります。 protocol_factory はクラス asyncio.SubprocessProtocol のサブクラスを...ine AbstractEventLoop. subprocess_shell ( protocol_factory , cmd , * , stdin=subprocess.PIPE , stdout=subproc...shell=True で呼び出したときと似ています。 protocol_factory はクラス asyncio.SubprocessProtocol のサブクラスを... - https://man.plustar.jp/python/library/asyncio-subprocess.html - [similar]
- 16.6. logging --- Python 用ロギング機能 — Python 3.6.5 ドキュメント 8236
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...さらに設定可能になりました。ファクトリは getLogRecordFactory() と setLogRecordFactory() を使用して設定することが...きます (ファクトリのシグネチャに関しては setLogRecordFactory() を参照)。 この機能を使うと LogRecord の生成時に独...注入することができます。次のパターンが使えます: old_factory = logging . getLogRecordFactory () def record_fact...ory ( * args , ** kwargs ): record = old_factory ( * args , ** kwargs ) record . custom_attribute =... - https://man.plustar.jp/python/library/logging.html - [similar]
- 18.5.5. ストリーム (コルーチンベースの API) — Python 3.6.5 ドキュメント 7611
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...StreamWriter のインスタンスです。 引数は protocol_factory を除き、 AbstractEventLoop.create_connection() の通...自動的に Task に変換されます。 残りの引数は protocol_factory を除きすべて create_server() の通常の引数です; 最も... - https://man.plustar.jp/python/library/asyncio-stream.html - [similar]
