per page, with , order by , clip by
Results of 1 - 10 of about 80 for patterns (0.038 sec.)
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 12396
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... guard , stmt * body ) pattern = MatchValue ( expr value ) | MatchSingleton ( constant value ) | MatchSequence ( pattern * patterns ) | MatchMapping ( expr * keys , pattern * patterns , identifier ? rest ) | MatchClass ( expr cls , pattern * patterns , i ... dentifier * kwd_attrs , pattern * kwd_patterns ) | MatchStar ( identifier ? name ) -- The optional "rest" MatchMapping parameter handles capturing extra mapping keys | M ... atchAs ( pattern ? pattern , identifier ? name ) | MatchOr ( pattern * patterns ) attributes ( int lineno , int col_offset , int end_lineno , int end_col_offset ) type_ignore = TypeIgnore ( int lineno , ...
https://man.mtool.work/python/3.14/library/ast.html
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 12150
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... guard , stmt * body ) pattern = MatchValue ( expr value ) | MatchSingleton ( constant value ) | MatchSequence ( pattern * patterns ) | MatchMapping ( expr * keys , pattern * patterns , identifier ? rest ) | MatchClass ( expr cls , pattern * patterns , i ... dentifier * kwd_attrs , pattern * kwd_patterns ) | MatchStar ( identifier ? name ) -- The optional "rest" MatchMapping parameter handles capturing extra mapping keys | M ... atchAs ( pattern ? pattern , identifier ? name ) | MatchOr ( pattern * patterns ) attributes ( int lineno , int col_offset , int end_lineno , int end_col_offset ) type_ignore = TypeIgnore ( int lineno , ...
https://man.mtool.work/python/3.14/library/ast.html
8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 11889
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります; ... ENT subject_expr : flexible_expression "," [ flexible_expression_list [ ',' ]] | assignment_expression case_block : 'case' patterns [ guard ] ":" suite 注釈 このセクションでは、一重引用符で囲まれているものは ソフトキーワード を表します。 パターンマッチン ... NFを拡張した文法記法を使用します。 SEP.RULE+ という表記は RULE (SEP RULE)* の略です。 !RULE は否定先読みの条件を表します。 patterns のトップレベルの構文は以下の通りです: patterns : open_sequence_pattern | pattern pattern : as_pattern | or_pattern closed_ ... のその実行一回の間だけで再利用されます。 8.6.4.7. グループパターン ¶ A group pattern allows users to add parentheses around patterns to emphasize the intended grouping. Otherwise, it has no additional syntax. Syntax: group_pattern : "(" pattern ")" In sim ...
https://man.mtool.work/python/3.14/reference/compound_stmts.html
8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 11889
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります; ... ENT subject_expr : flexible_expression "," [ flexible_expression_list [ ',' ]] | assignment_expression case_block : 'case' patterns [ guard ] ":" suite 注釈 このセクションでは、一重引用符で囲まれているものは ソフトキーワード を表します。 パターンマッチン ... NFを拡張した文法記法を使用します。 SEP.RULE+ という表記は RULE (SEP RULE)* の略です。 !RULE は否定先読みの条件を表します。 patterns のトップレベルの構文は以下の通りです: patterns : open_sequence_pattern | pattern pattern : as_pattern | or_pattern closed_ ... のその実行一回の間だけで再利用されます。 8.6.4.7. グループパターン ¶ A group pattern allows users to add parentheses around patterns to emphasize the intended grouping. Otherwise, it has no additional syntax. Syntax: group_pattern : "(" pattern ")" In sim ...
https://man.mtool.work/python/3.14/reference/compound_stmts.html
10. 完全な文法仕様 — Python 3.14.8 ドキュメント 9752
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた ... lock + DEDENT subject_expr : | star_named_expression ',' star_named_expressions ? | named_expression case_block : | "case" patterns guard ? ':' block guard : 'if' named_expression patterns : | open_sequence_pattern | pattern pattern : | as_pattern | or_p ... _pattern | wildcard_pattern | value_pattern | group_pattern | sequence_pattern | mapping_pattern | class_pattern # Literal patterns are used for equality and identity constraints literal_pattern : | signed_number ! ( '+' | '-' ) | complex_number | string ... maybe_sequence_pattern ? maybe_sequence_pattern : | ',' . maybe_star_pattern + ',' ? maybe_star_pattern : | star_pattern | pattern star_pattern : | '*' pattern_capture_target | '*' wildcard_pattern mapping_pattern : | '{' '}' | '{' double_star_pattern ', ...
https://man.mtool.work/python/3.14/reference/grammar.html
10. 完全な文法仕様 — Python 3.14.8 ドキュメント 9752
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた ... lock + DEDENT subject_expr : | star_named_expression ',' star_named_expressions ? | named_expression case_block : | "case" patterns guard ? ':' block guard : 'if' named_expression patterns : | open_sequence_pattern | pattern pattern : | as_pattern | or_p ... _pattern | wildcard_pattern | value_pattern | group_pattern | sequence_pattern | mapping_pattern | class_pattern # Literal patterns are used for equality and identity constraints literal_pattern : | signed_number ! ( '+' | '-' ) | complex_number | string ... maybe_sequence_pattern ? maybe_sequence_pattern : | ',' . maybe_star_pattern + ',' ? maybe_star_pattern : | star_pattern | pattern star_pattern : | '*' pattern_capture_target | '*' wildcard_pattern mapping_pattern : | '{' '}' | '{' double_star_pattern ', ...
https://man.mtool.work/python/3.14/reference/grammar.html
変更履歴 — Python 3.14.8 ドキュメント 8232
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac ... . gh-140797 : The undocumented re.Scanner class now forbids regular expressions containing capturing groups in its lexicon patterns. Patterns using capturing groups could previously lead to crashes with segmentation fault. Use non-capturing groups (?:... ... 32 : Fix name passing to unittest.mock.Mock object when using unittest.mock.create_autospec() . gh-111259 : re now handles patterns like "[\s\S]" or "\s|\S" which match any character as effectively as a dot with the DOTALL modifier ( "(?s:.)" ). gh-12068 ... nterpreters-in-the-stdlib/41147/26 . gh-115060 : Speed up pathlib.Path.glob() by not scanning directories for non-wildcard pattern segments. gh-117727 : Speed up pathlib.Path.iterdir() by using os.scandir() internally. gh-117586 : Speed up pathlib.Path.w ...
https://man.mtool.work/python/3.14/whatsnew/changelog.html
shutil --- 高水準のファイル操作 — Python 3.14.8 ドキュメント 7985
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » shutil --- 高水準のファイル操作 テーマ 自動 ライト ダーク | shutil --- 高水準のファイル操作 ¶ ... 行うシステムコールが利用されることがあります。 プラットフォーム依存の効率的なコピー操作 を参照してください。 shutil. ignore_patterns ( * patterns ) ¶ このファクトリ関数は、 copytree() 関数の ignore 引数に渡すための呼び出し可能オブジェクトを作成します。 gl ... ob形式の patterns にマッチするファイルやディレクトリが無視されます。下の例を参照してください。 shutil. copytree ( src , dst , symlinks = Fal ... イル名のシーケンス(すなわち第二引数の項目のサブセット)でなければなりません。それらの名前はコピー中に無視されます。 ignore_patterns() を用いて glob 形式のパターンによって無視する呼び出し可能オブジェクトを作成することが出来ます。 例外が発生した場合、理由の ...
https://man.mtool.work/python/3.14/library/shutil.html
shutil --- 高水準のファイル操作 — Python 3.14.8 ドキュメント 7985
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » ファイルとディレクトリへのアクセス » shutil --- 高水準のファイル操作 テーマ 自動 ライト ダーク | shutil --- 高水準のファイル操作 ¶ ... 行うシステムコールが利用されることがあります。 プラットフォーム依存の効率的なコピー操作 を参照してください。 shutil. ignore_patterns ( * patterns ) ¶ このファクトリ関数は、 copytree() 関数の ignore 引数に渡すための呼び出し可能オブジェクトを作成します。 gl ... ob形式の patterns にマッチするファイルやディレクトリが無視されます。下の例を参照してください。 shutil. copytree ( src , dst , symlinks = Fal ... イル名のシーケンス(すなわち第二引数の項目のサブセット)でなければなりません。それらの名前はコピー中に無視されます。 ignore_patterns() を用いて glob 形式のパターンによって無視する呼び出し可能オブジェクトを作成することが出来ます。 例外が発生した場合、理由の ...
https://man.mtool.work/python/3.14/library/shutil.html
re --- 正規表現操作 — Python 3.14.8 ドキュメント 7355
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » re --- 正規表現操作 テーマ 自動 ライト ダーク | re --- 正規表現操作 ¶ ソースコード: Lib/re/ このモジュールは ... や 'as at ay' にはマッチしますが、 'attempt' や 'atlas' にはマッチしません。 The default word characters in Unicode (str) patterns are Unicode alphanumerics and the underscore, but this can be changed by using the ASCII flag. Word boundaries are determi ... U flag still exists for backward compatibility, but is redundant in Python 3 since matches are Unicode by default for str patterns, and Unicode matching isn't allowed for bytes patterns. UNICODE and the inline flag (?u) are similarly redundant. re. DEBU ... ake \w , \W , \b , \B and case-insensitive matching dependent on the current locale. This flag can be used only with bytes patterns. インラインフラグの (?L) に相当します。 警告 This flag is discouraged; consider Unicode matching instead. The locale mecha ...
https://man.mtool.work/python/3.14/library/re.html
PREV 1 2 3 4 5 6 7 8 NEXT