Results of 1 - 10 of about 52 for rule (0.007 sec.)
- 10. 完全な文法仕様 — Python 3.14.8 ドキュメント 12739
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた
...escribed in the notation section, except for an extra complication: ~ ("cut"): commit to the current alternative; fail the rule if the alternative fails to parse Python mainly uses cuts for optimizations or improved error messages. They often appear...r for Python # ========================= START OF THE GRAMMAR ========================= # General grammatical elements and rules: # # * Strings with double quotes (") denote SOFT KEYWORDS # * Strings with single quotes (') denote KEYWORDS # * Upper c...ase names (NAME) denote tokens in the Grammar/Tokens file # * Rule names starting with "invalid_" are used for specialized syntax errors # - These rules are NOT used in the first pass of th... - https://man.mtool.work/python/3.14/reference/grammar.html
- 10. 完全な文法仕様 — Python 3.14.8 ドキュメント 12739
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 10. 完全な文法仕様 テーマ 自動 ライト ダーク | 10. 完全な文法仕様 ¶ 以下に示すのは Python の完全な文法です。CPython のパーサを生成するた
...escribed in the notation section, except for an extra complication: ~ ("cut"): commit to the current alternative; fail the rule if the alternative fails to parse Python mainly uses cuts for optimizations or improved error messages. They often appear...r for Python # ========================= START OF THE GRAMMAR ========================= # General grammatical elements and rules: # # * Strings with double quotes (") denote SOFT KEYWORDS # * Strings with single quotes (') denote KEYWORDS # * Upper c...ase names (NAME) denote tokens in the Grammar/Tokens file # * Rule names starting with "invalid_" are used for specialized syntax errors # - These rules are NOT used in the first pass of th... - https://man.mtool.work/python/3.14/reference/grammar.html
- 1. はじめに — Python 3.14.8 ドキュメント 10798
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 1. はじめに テーマ 自動 ライト ダーク | 1. はじめに ¶ このリファレンスマニュアルは、Python プログラミング言語自体に関する記述です。チュ
...in turn is any of the single characters 'a' through 'z' and A through Z ; a digit is a single character from 0 to 9 . Each rule begins with a name (which identifies the rule that's being defined) followed by a colon, : . The definition to the right o...f the colon uses the following syntax elements: name : A name refers to another rule. Where possible, it is a link to the rule's definition. TOKEN : An uppercase name refers to a token . For the purposes of...grammar definitions, tokens are the same as rules. "text" , 'text' : Text in single or double quotes must match literally (without the quotes). The type of quote is chosen... - https://man.mtool.work/python/3.14/reference/introduction.html
- 1. はじめに — Python 3.14.8 ドキュメント 10798
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 1. はじめに テーマ 自動 ライト ダーク | 1. はじめに ¶ このリファレンスマニュアルは、Python プログラミング言語自体に関する記述です。チュ
...in turn is any of the single characters 'a' through 'z' and A through Z ; a digit is a single character from 0 to 9 . Each rule begins with a name (which identifies the rule that's being defined) followed by a colon, : . The definition to the right o...f the colon uses the following syntax elements: name : A name refers to another rule. Where possible, it is a link to the rule's definition. TOKEN : An uppercase name refers to a token . For the purposes of...grammar definitions, tokens are the same as rules. "text" , 'text' : Text in single or double quotes must match literally (without the quotes). The type of quote is chosen... - https://man.mtool.work/python/3.14/reference/introduction.html
- The Python 2.3 Method Resolution Order — Python 3.14.8 ドキュメント 10215
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » The Python 2.3 Method Resolution Order テーマ 自動 ライト ダーク | The Python 2.3 Method Resolution Order ¶ 注釈 This is a historical document, pr
...e furthest, is called the class precedence list or the linearization of C. The Method Resolution Order (MRO) is the set of rules that construct the linearization. In the Python literature, the idiom "the MRO of C" is also used as a synonymous for the...y, with C inheriting from the base classes B1, B2, ... , BN. We want to compute the linearization L[C] of the class C. The rule is the following: the linearization of C is the sum of C plus the merge of the linearizations of the parents and the list...L [ B ] However, in the case of multiple inheritance things are more cumbersome and I don't expect you can understand the rule without a couple of examples ;-) 使用例 ¶ First example. Consider the following hierarchy: >>> O = object >>> class F ( O... - https://man.mtool.work/python/3.14/howto/mro.html
- The Python 2.3 Method Resolution Order — Python 3.14.8 ドキュメント 10215
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » The Python 2.3 Method Resolution Order テーマ 自動 ライト ダーク | The Python 2.3 Method Resolution Order ¶ 注釈 This is a historical document, pr
...e furthest, is called the class precedence list or the linearization of C. The Method Resolution Order (MRO) is the set of rules that construct the linearization. In the Python literature, the idiom "the MRO of C" is also used as a synonymous for the...y, with C inheriting from the base classes B1, B2, ... , BN. We want to compute the linearization L[C] of the class C. The rule is the following: the linearization of C is the sum of C plus the merge of the linearizations of the parents and the list...L [ B ] However, in the case of multiple inheritance things are more cumbersome and I don't expect you can understand the rule without a couple of examples ;-) 使用例 ¶ First example. Consider the following hierarchy: >>> O = object >>> class F ( O... - https://man.mtool.work/python/3.14/howto/mro.html
- 拡張モジュールを分離する — Python 3.14.8 ドキュメント 8289
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa
.... modules [ 'binascii' ] >>> import binascii # 新しいモジュールオブジェクトを作成 >>> old_binascii == binascii False As a rule of thumb, the two modules should be completely independent. All objects and state specific to the module should be encapsu...e object, not shared with other module objects, and cleaned up when the module object is deallocated. Since this just is a rule of thumb, exceptions are possible (see Managing Global State ), but they will need more thought and attention to edge case...espond more closely to classes created by Python's class statement. For new modules, using heap types by default is a good rule of thumb. Changing Static Types to Heap Types ¶ Static types can be converted to heap types, but note that the heap type A... - https://man.mtool.work/python/3.14/howto/isolating-extensions.html
- 拡張モジュールを分離する — Python 3.14.8 ドキュメント 8289
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » 拡張モジュールを分離する テーマ 自動 ライト ダーク | 拡張モジュールを分離する ¶ 概要 Traditionally, state belonging to Python extension modules wa
.... modules [ 'binascii' ] >>> import binascii # 新しいモジュールオブジェクトを作成 >>> old_binascii == binascii False As a rule of thumb, the two modules should be completely independent. All objects and state specific to the module should be encapsu...e object, not shared with other module objects, and cleaned up when the module object is deallocated. Since this just is a rule of thumb, exceptions are possible (see Managing Global State ), but they will need more thought and attention to edge case...espond more closely to classes created by Python's class statement. For new modules, using heap types by default is a good rule of thumb. Changing Static Types to Heap Types ¶ Static types can be converted to heap types, but note that the heap type A... - https://man.mtool.work/python/3.14/howto/isolating-extensions.html
- 8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 8094
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります;
...created for that iterable. The first item provided by the iterator is then assigned to the target list using the standard rules for assignments (see 代入文 (assignment statement) ), and the suite is executed. This repeats for each item provided by t...弧で囲われた、論駁不可能なパターン 8.6.4. パターン ¶ 注釈 このセクションでは、通常のEBNFを拡張した文法記法を使用します。 SEP.RULE+ という表記は RULE (SEP RULE)* の略です。 !RULE は否定先読みの条件を表します。 patterns のトップレベルの構文は以下の通りで...gned_number "+" NUMBER | signed_number "-" NUMBER | strings | "None" | "True" | "False" signed_number : [ "-" ] NUMBER The rule strings and the token NUMBER are defined in the standard Python grammar . Triple-quoted strings are supported. Raw strings... - https://man.mtool.work/python/3.14/reference/compound_stmts.html
- 8. 複合文 (compound statement) — Python 3.14.8 ドキュメント 8094
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 8. 複合文 (compound statement) テーマ 自動 ライト ダーク | 8. 複合文 (compound statement) ¶ 複合文には、他の文 (のグループ) が入ります;
...created for that iterable. The first item provided by the iterator is then assigned to the target list using the standard rules for assignments (see 代入文 (assignment statement) ), and the suite is executed. This repeats for each item provided by t...弧で囲われた、論駁不可能なパターン 8.6.4. パターン ¶ 注釈 このセクションでは、通常のEBNFを拡張した文法記法を使用します。 SEP.RULE+ という表記は RULE (SEP RULE)* の略です。 !RULE は否定先読みの条件を表します。 patterns のトップレベルの構文は以下の通りで...gned_number "+" NUMBER | signed_number "-" NUMBER | strings | "None" | "True" | "False" signed_number : [ "-" ] NUMBER The rule strings and the token NUMBER are defined in the standard Python grammar . Triple-quoted strings are supported. Raw strings... - https://man.mtool.work/python/3.14/reference/compound_stmts.html