per page, with , order by , clip by
Results of 1 - 10 of about 10 for tokens (0.006 sec.)
tokenize --- Python ソース用のトークナイザー 13783
tokenize --- Python ソース用のトークナイザー ソースコード: Lib/tokenize.py The tokenize module provides a lexical scanner for Python source code, implemented in Python. The scanner in this module returns comments as tokens as well, making i ... t useful for implementing "pretty-printers", including colorizers for on-screen displays. To simplify token stream handling, all operator and delimiter tokens and Ellipsis are returned using the generic OP token type. The TokenInfo ... は PEP 263 にしたがって、ソースのエンコーディングを UTF-8 BOM か encoding cookie を見つけて決定します。 tokenize. generate_tokens ( readline ) バイト列ではなく Unicode 文字列を読み取り、ソースをトークン化します。 tokenize() と同じく、 readline 引数は入 ... 力を 1 行返す呼び出し可能オブジェクトです。 ただし generate_tokens() では、 readline は bytes ではなく str オブジェクトを返す必要があります。 The result is an iterator yielding TokenInfo ob ...
https://man.mtool.work/python/3.14/library/tokenize.html
tabnanny --- あいまいなインデントの検出 10011
tabnanny --- あいまいなインデントの検出 ソースコード: Lib/tabnanny.py 差し当たり、このモジュールはスクリプトとして呼び出すことを意図しています。しかし、IDE 上にインポートして下で説明する関数 check() を使うことができます。 注釈 このモジュール ... た場合は、 -q オプションによって真に設定されます。 exception tabnanny. NannyNag あいまいなインデントを検出した場合に process_tokens() が送出します。 この例外は check() で捕捉され処理されます。 tabnanny. process_tokens ( tokens ) この関数は、 tokenize モジ ... nソースコードの字句解析器。 他のマニュアルの関連ページ PHP phptoken.tokenize PHP token_get_all() PHP solrquery.setmltmaxnumtokens PHP tokenizer.examples Linux JM execveat(2) PHP ref.tcpwrap ...
https://man.mtool.work/python/3.14/library/tabnanny.html
netrc --- netrc ファイルの処理 9564
netrc --- netrc ファイルの処理 ソースコード: Lib/netrc.py netrc クラスは、Unix ftp プログラムや他の FTP クライアントで用いられる netrc ファイル形式を解析し、カプセル化 (encapsulate) します。 class netrc. netrc ( [ file ] ) netrc インスタンス ... netrc try UTF-8 encoding before using locale specific encoding. The entry in the netrc file no longer needs to contain all tokens. The missing tokens' value default to an empty string. All the tokens and their values now can contain arbitrary character ...
https://man.mtool.work/python/3.14/library/netrc.html
token --- Python 解析木で使われる定数 8509
token --- Python 解析木で使われる定数 ソースコード: Lib/token.py このモジュールは解析木の葉ノード(終端記号)の数値を表す定数を提供します。言語の文法のコンテキストにおける名前の定義については、 Python ディストリビューションのファイル Grammar/ ... ークン値です。 token. STRING Token value that indicates a string or byte literal , excluding formatted string literals . The token string is not interpreted: it includes the surrounding quotation marks and the prefix (if given); backslashes are included ... OW "->" token. ELLIPSIS "..." token. COLONEQUAL ":=" token. EXCLAMATION "!" トークン以外に、次の定数を提供します: token. N_TOKENS このモジュールで定義しているトークン型の数です。 token. EXACT_TOKEN_TYPES トークンの文字列表現を数値コードに対応付ける辞書 ...
https://man.mtool.work/python/3.14/library/token.html
XMLを扱うモジュール群 8170
XMLを扱うモジュール群 ソースコード: Lib/xml/ PythonのXMLを扱うインターフェースは xml パッケージにまとめられています。 注釈 信頼できないデータや、認証されていないデータを解析する場合は、 XML のセキュリティ を参照してください。 xml パッケージ ... ネットワーク接続を作成したりすることはありません。 2.7.2 より前の Expat には、「billion laughs」「quadratic blowup」「large tokens」の脆弱性や、動的メモリを不釣り合いに大量消費する問題がある可能性があります。 Python には Expat が同梱されていますが、同梱版 ...
https://man.mtool.work/python/3.14/library/xml.html
10. 完全な文法仕様 8170
10. 完全な文法仕様 以下は Python の完全な文法で、CPython のパーサを生成するための文法から直接得たものです ( Grammar/python.gram を参照)。 ここでは、コード生成とエラー回復に関する詳細を省略しています。 ここで使う記法は、これまでのドキュメント ... uble quotes (") denote SOFT KEYWORDS # * Strings with single quotes (') denote KEYWORDS # * Upper case names (NAME) denote tokens in the Grammar/Tokens file # * Rule names starting with "invalid_" are used for specialized syntax errors # - These rules ...
https://man.mtool.work/python/3.14/reference/grammar.html
What's New In Python 3.0 7812
What's New In Python 3.0 著者 : Guido van Rossum この記事では 2.6 と比較した Python 3.0 での新機能を解説します。 Python 3.0、あるいは "Python 3000"、 "Py3K" は初めて 意図的に後方非互換にした Python のリリースです。 Python 3.0 は2008年12月3日 ... ジュールを使ってください。 tokenize モジュールはバイトでも機能するように変更されました。メインのエントリポイントは generate_tokens から tokenize.tokenize() になりました。 string.letters と関連する定数 ( string.lowercase と string.uppercase ) は削除されま ...
https://man.mtool.work/python/3.14/whatsnew/3.0.html
What's New In Python 3.12 7812
What's New In Python 3.12 編集者 : Adam Turner この記事では Python 3.11 と比較した Python 3.12 の新機能を解説します。Python 3.12 は2023年10月2日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 693 -- Python 3.12 リリ ... で貢献しました。) tokenize モジュールで PEP 701 に対応するための変更に伴い、 tokenize.tokenize() 関数と tokenize.generate_tokens() 関数が最大 64% 高速になりました。 (Marta Gómez Macías and Pablo Galindo が gh-102856 で貢献しました。) 新しい LOAD_SUPER ... 詳しくは 展開フィルター を参照してください。 PEP 701 で導入された変更により、 tokenize.tokenize() 関数と tokenize.generate_tokens() 関数の出力が変わりました。 f 文字列に対して STRING トークンは生成されなくなり、代わりに PEP 701 に記載されたトークンが生 ...
https://man.mtool.work/python/3.14/whatsnew/3.12.html
urllib.request --- URL を開くための拡張可能なライブラリ 7723
urllib.request --- URL を開くための拡張可能なライブラリ ソースコード: Lib/urllib/request.py urllib.request モジュールは、Basic 認証や Digest 認証、リダイレクト、Cookie などが絡む複雑な状況で URL (主に HTTP) を開くための関数とクラスを定義して ... I, or a sequence of URIs. realm , user and passwd must be strings. This causes (user, passwd) to be used as authentication tokens when authentication for realm and a super-URI of any of the given URIs is given. If a URI includes a scheme, its credentia ...
https://man.mtool.work/python/3.14/library/urllib.request.html
What's New In Python 3.6 7723
What's New In Python 3.6 エディタ : Elvis Pranskevichus < elvis @ magic . io >, Yury Selivanov < yury @ magic . io > この記事では 3.5 と比較した Python 3.6 の新機能を解説します。 Python 3.6 は2016年12月23日にリリースされました。 全詳細につい ... generation of cryptographically strong pseudo-random numbers suitable for managing secrets such as account authentication, tokens, and similar. Linux ではセキュリティを高めるため、システムの urandom エントロピープールが初期化されるまで os.urandom() がブ ...
https://man.mtool.work/python/3.14/whatsnew/3.6.html
PREV 1 NEXT