per page, with , order by , clip by
Results of 1 - 10 of about 36 for params (0.005 sec.)
email.mime: 電子メールと MIME オブジェクトを一から作成する 12837
email.mime : 電子メールと MIME オブジェクトを一から作成する ソースコード: Lib/email/mime/ このモジュールは従来の ( Compat32 ) email API の一部です。 新しい API では機能の一部が contentmanager に置き換えられていますが、用途によっては新しいコ ... れています。 以下がそのサブクラスです: class email.mime.base. MIMEBase ( _maintype , _subtype , * , policy = compat32 , ** _params ) モジュール: email.mime.base これはすべての Message の MIME 用サブクラスの基底となるクラスです。とくに MIMEBase のインスタ ... の主形式 (maintype) であり ( text や image など)、 _subtype は Content-Type の副形式 (subtype) です ( plain や gif など)。 _params は各パラメータのキーと値を格納した辞書であり、これは直接 Message.add_header に渡されます。 policy を指定すると Message に渡 ... されます (デフォルトは compat32 ポリシーです)。 MIMEBase クラスはつねに ( _maintype 、 _subtype 、および _params にもとづいた) Content-Type ヘッダと、 MIME-Version ヘッダ (必ず 1.0 に設定される) を追加します。 バージョン 3.6 で変更: キ ...
https://man.mtool.work/python/3.14/library/email.mime.html
8. 複合文 (compound statement) 12124
8. 複合文 (compound statement) 複合文には、他の文 (のグループ) が入ります; 複合文は、中に入っている他の文の実行の制御に何らかのやり方で影響を及ぼします。一般的には、複合文は複数行にまたがって書かれますが、全部の文を一行に連ねた単純な書き方も ... 関数定義は、ユーザ定義関数オブジェクトを定義します ( 標準型の階層 節参照): funcdef : [ decorators ] "def" funcname [ type_params ] "(" [ parameter_list ] ")" [ "->" expression ] ":" suite decorators : decorator + decorator : "@" assignment_expression ... メータ のリストを指定できます。 これは、関数がジェネリックであることを静的型チェッカーに示します。 実行時には、関数の __type_params__ 属性から型パラメータを取得できます。 詳しくは ジェネリック関数 を参照してください。 バージョン 3.12 で変更: 型パラメータ ... 定義 クラス定義は、クラスオブジェクトを定義します ( 標準型の階層 節参照): classdef : [ decorators ] "class" classname [ type_params ] [ inheritance ] ":" suite inheritance : "(" [ argument_list ] ")" classname : identifier クラス定義は実行可能な文です。継 ...
https://man.mtool.work/python/3.14/reference/compound_stmts.html
10. 完全な文法仕様 11411
10. 完全な文法仕様 以下は Python の完全な文法で、CPython のパーサを生成するための文法から直接得たものです ( Grammar/python.gram を参照)。 ここでは、コード生成とエラー回復に関する詳細を省略しています。 ここで使う記法は、これまでのドキュメント ... finitions # ----------------- class_def : | decorators class_def_raw | class_def_raw class_def_raw : | 'class' NAME [ type_params ] [ '(' [ arguments ] ')' ] ':' block # Function definitions # -------------------- function_def : | decorators function_d ... ef_raw | function_def_raw function_def_raw : | 'def' NAME [ type_params ] '(' [ params ] ')' [ '->' expression ] ':' [ func_type_comment ] block | 'async' 'def' NAME [ type_params ] '(' [ params ... ] ')' [ '->' expression ] ':' [ func_type_comment ] block # Function parameters # ------------------- params : | parameters parameters : | slash_no_default param_no_default * param_with_default * [ star_etc ] | slash_with_default p ...
https://man.mtool.work/python/3.14/reference/grammar.html
ast --- 抽象構文木 10698
ast --- 抽象構文木 ソースコード: Lib/ast.py ast モジュールは、Python の抽象構文を表す木を Python アプリケーションで処理するための機能を提供します。 抽象構文自体は Python のリリースごとに変わる可能性がありますが、このモジュールを使えば、現在 ... r name , arguments args , stmt * body , expr * decorator_list , expr ? returns , string ? type_comment , type_param * type_params ) | AsyncFunctionDef ( identifier name , arguments args , stmt * body , expr * decorator_list , expr ? returns , string ? ... type_comment , type_param * type_params ) | ClassDef ( identifier name , expr * bases , keyword * keywords , stmt * body , expr * decorator_list , type_param * ty ... pe_params ) | Return ( expr ? value ) | Delete ( expr * targets ) | Assign ( expr * targets , expr value , string ? type_comment ) | ...
https://man.mtool.work/python/3.14/library/ast.html
urllib.parse --- URL を構成要素に解析する 9414
urllib.parse --- URL を構成要素に解析する ソースコード: Lib/urllib/parse.py このモジュールでは URL (Uniform Resource Locator) 文字列をその構成要素 (アドレススキーム、ネットワーク上の位置、パスその他) に分解したり、構成要素を URL に組みなおし ... y='query', fragment='fragment') >>> o = urlsplit ( "http://docs.python.org:80/3/library/urllib.parse.html?" ... "highlight=params#url-parsing" ) >>> o SplitResult(scheme='http', netloc='docs.python.org:80', path='/3/library/urllib.parse.html', query='h ... ighlight=params', fragment='url-parsing') >>> o . scheme 'http' >>> o . netloc 'docs.python.org:80' >>> o . hostname 'docs.python.org' >>> ... . port 80 >>> o . _replace ( fragment = "" ) . geturl () 'http://docs.python.org:80/3/library/urllib.parse.html?highlight=params' RFC 1808 の構文仕様に従い、 urlsplit() は netloc の前に適切に '//' が付いている場合にのみ netloc を認識します。 それ以外の ...
https://man.mtool.work/python/3.14/library/urllib.parse.html
email.contentmanager: MIME コンテンツの管理 9271
email.contentmanager : MIME コンテンツの管理 ソースコード: Lib/email/contentmanager.py Added in version 3.6: [ 1 ] class email.contentmanager. ContentManager コンテンツマネージャーの基底クラスです。 MIME コンテンツと他の表現との変換処理を登 ... set_content ( msg , <'str'> , subtype="plain" , charset='utf-8' , cte=None , disposition=None , filename=None , cid=None , params=None , headers=None ) email.contentmanager. set_content ( msg , <'bytes'> , maintype , subtype , cte="base64" , dispositio ... n=None , filename=None , cid=None , params=None , headers=None ) email.contentmanager. set_content ( msg , <'EmailMessage'> , cte=None , disposition=None , filename= ... None , cid=None , params=None , headers=None ) msg にヘッダーとペイロードを追加します。 maintype/subtype の値を持つ Content-Type ヘッダーを追加しま ...
https://man.mtool.work/python/3.14/library/email.contentmanager.html
xmlrpc.client --- XML-RPC クライアントアクセス 9271
xmlrpc.client --- XML-RPC クライアントアクセス ソースコード: Lib/xmlrpc/client.py XML-RPCはXMLを利用した遠隔手続き呼び出し(Remote Procedure Call)の一種で、HTTP(S)をトランスポートとして使用します。XML- RPCでは、クライアントはリモートサーバ(U ... esult = multicall () print ( "7+3= %d , 7-3= %d , 7*3= %d , 7//3= %d " % tuple ( result )) 補助関数 xmlrpc.client. dumps ( params , methodname = None , methodresponse = None , encoding = None , allow_none = False ) Convert params into an XML-RPC reques ... t, or into a response if methodresponse is true. params can be either a tuple of arguments or an instance of the Fault exception class. If methodresponse is true, only a single v ... alue can be returned, meaning that params must be of length 1. encoding , if supplied, is the encoding to use in the generated XML; the default is UTF-8. Python's N ...
https://man.mtool.work/python/3.14/library/xmlrpc.client.html
annotationlib --- アノテーションを調べるための機能 8701
annotationlib --- アノテーションを調べるための機能 Added in version 3.14. ソースコード: Lib/annotationlib.py annotationlib モジュールは、モジュール、クラス、関数の アノテーション を調べるためのツールを提供します。 アノテーションは 遅延評価 ... 。 元のソースコードと完全には一致しない場合があります。 evaluate ( * , owner = None , globals = None , locals = None , type_params = None , format = Format.VALUE ) 前方参照を評価し、その値を返します。 format 引数が VALUE (デフォルト) の場合、前方参照が解 ... 含むオブジェクトです。 モジュールオブジェクト、型オブジェクト、関数オブジェクトなどが該当します。 globals 、 locals 、 type_params パラメーターを使うと、 ForwardRef の評価時に利用できる名前をより細かく制御できます。 globals と locals は eval() に渡され、 ... 名前を評価するグローバル名前空間とローカル名前空間を表します。 type_params は、 ジェネリッククラス や ジェネリック関数 の専用構文で作成されたオブジェクトに関係します。 前方参照の評価時にスコープ内に ...
https://man.mtool.work/python/3.14/library/annotationlib.html
email.utils: 各種ユーティリティ 8558
email.utils : 各種ユーティリティ ソースコード: Lib/email/utils.py email.utils モジュールには、いくつかの便利なユーティリティがあります: email.utils. localtime ( dt = None ) Return local time as an aware datetime object. If called without ar ... がタプルでない場合には、これは文字列でなければなりません。その場合にはクォートを除いた文字列を返します。 email.utils. decode_params ( params ) RFC 2231 に従ってパラメータのリストをデコードします。 params は (content-type, string-value) 形式の 2 要素タプル ...
https://man.mtool.work/python/3.14/library/email.utils.html
email.message.Message: compat32 API を使用した電子メールメッセージの表現 8273
email.message.Message : compat32 API を使用した電子メールメッセージの表現 Message クラスは EmailMessage クラスによく似ていますが、後者で追加されたメソッドはなく、一部の他のメソッドでもデフォルトの動作が少し異なります。 ここでは、 EmailMessa ... のヘッダがメッセージ中に含まれていない場合は failobj (デフォルトでは None ) が返されます。 add_header ( _name , _value , ** _params ) 拡張ヘッダ設定。 このメソッドは __setitem__() と似ていますが、追加のヘッダ・パラメータをキーワード引数で指定できるところ ... が違っています。 _name に追加するヘッダフィールドを、 _value にそのヘッダの 主たる 値を渡します。 キーワード引数辞書 _params の各項目ごとに、そのキーがパラメータ名として扱われ、キー名にふくまれるアンダースコアはハイフンに置換されます (アンダースコ ... 822 である必要がありますが、強制ではありません。デフォルトの content-type はヘッダの Content-Type には格納されません。 get_params ( failobj = None , header = 'content-type' , unquote = True ) メッセージの Content-Type パラメータをリストとして返します。 ...
https://man.mtool.work/python/3.14/library/email.compat32-message.html
PREV 1 2 3 4 NEXT