Results of 1 - 10 of about 127 for literal (0.011 sec.)
- 2. 字句解析 — Python 3.14.8 ドキュメント 12662
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens
...slash ( \ ) Explicit line joining (Also significant in string escape sequences ) hash ( # ) Comment quote ( ' , " ) String literal ASCII letter ( a - z , A - Z ) non-ASCII character Name Prefixed string or bytes literal underscore ( _ ) Name (Can also b...e part of numeric literals ) number ( 0 - 9 ) Numeric literal dot ( . ) Numeric literal Operator question mark ( ? ) dollar ( $ ) backquote ( ` )...control character Error (outside string literals and comments) other printing character Operator or delimiter end of file End marker 2.1. 行構造 ¶ Python プログラムは多数... - https://man.mtool.work/python/3.14/reference/lexical_analysis.html
- 2. 字句解析 — Python 3.14.8 ドキュメント 12662
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python 言語リファレンス » 2. 字句解析 テーマ 自動 ライト ダーク | 2. 字句解析 ¶ A Python program is read by a parser . Input to the parser is a stream of tokens
...slash ( \ ) Explicit line joining (Also significant in string escape sequences ) hash ( # ) Comment quote ( ' , " ) String literal ASCII letter ( a - z , A - Z ) non-ASCII character Name Prefixed string or bytes literal underscore ( _ ) Name (Can also b...e part of numeric literals ) number ( 0 - 9 ) Numeric literal dot ( . ) Numeric literal Operator question mark ( ? ) dollar ( $ ) backquote ( ` )...control character Error (outside string literals and comments) other printing character Operator or delimiter end of file End marker 2.1. 行構造 ¶ Python プログラムは多数... - https://man.mtool.work/python/3.14/reference/lexical_analysis.html
- token --- Python 解析木で使われる定数 — Python 3.14.8 ドキュメント 11047
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » token --- Python 解析木で使われる定数 テーマ 自動 ライト ダーク | token --- Python 解析木で使われる定数 ¶ ソー
...: token. NAME ¶ Token value that indicates an identifier or keyword . token. NUMBER ¶ Token value that indicates a numeric literal token. STRING ¶ Token value that indicates a string or byte literal , excluding formatted string literals . The token stri...ng is not interpreted: it includes the surrounding quotation marks and the prefix (if given); backslashes are included literally, without processing escape sequences. token. OP ¶ A generic token value that indicates an operator or delimiter . CPytho...o indicate the end of an indented block . token. FSTRING_START ¶ Token value used to indicate the beginning of an f-string literal . CPython 実装の詳細: The token string includes the prefix and the opening quote(s), but none of the contents of the liter... - https://man.mtool.work/python/3.14/library/token.html
- token --- Python 解析木で使われる定数 — Python 3.14.8 ドキュメント 11047
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » token --- Python 解析木で使われる定数 テーマ 自動 ライト ダーク | token --- Python 解析木で使われる定数 ¶ ソー
...: token. NAME ¶ Token value that indicates an identifier or keyword . token. NUMBER ¶ Token value that indicates a numeric literal token. STRING ¶ Token value that indicates a string or byte literal , excluding formatted string literals . The token stri...ng is not interpreted: it includes the surrounding quotation marks and the prefix (if given); backslashes are included literally, without processing escape sequences. token. OP ¶ A generic token value that indicates an operator or delimiter . CPytho...o indicate the end of an indented block . token. FSTRING_START ¶ Token value used to indicate the beginning of an f-string literal . CPython 実装の詳細: The token string includes the prefix and the opening quote(s), but none of the contents of the liter... - https://man.mtool.work/python/3.14/library/token.html
- typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 8894
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース
...mitted at runtime when it is accessed or imported from typing . AnyStr will be removed from typing in Python 3.18. typing. LiteralString ¶ Special type that includes only literal strings. Any string literal is compatible with LiteralString , as is anoth...er LiteralString . However, an object typed as just str is not. A string created by composing LiteralString -typed objects is also ac...ceptable as a LiteralString . 例: def run_query ( sql : LiteralString ) -> None : ... def caller ( arbitrary_string : str , literal_string : Lit... - https://man.mtool.work/python/3.14/library/typing.html
- typing --- 型ヒントのサポート — Python 3.14.8 ドキュメント 8894
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » typing --- 型ヒントのサポート テーマ 自動 ライト ダーク | typing --- 型ヒントのサポート ¶ Added in version 3.5. ソース
...mitted at runtime when it is accessed or imported from typing . AnyStr will be removed from typing in Python 3.18. typing. LiteralString ¶ Special type that includes only literal strings. Any string literal is compatible with LiteralString , as is anoth...er LiteralString . However, an object typed as just str is not. A string created by composing LiteralString -typed objects is also ac...ceptable as a LiteralString . 例: def run_query ( sql : LiteralString ) -> None : ... def caller ( arbitrary_string : str , literal_string : Lit... - https://man.mtool.work/python/3.14/library/typing.html
- string.templatelib --- テンプレート文字列リテラルのサポート — Python 3.14.8 ド... 7891
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » string.templatelib --- テンプレート文字列リテラルのサポート テーマ 自動 ライト ダーク | string.templatelib -
...ibutes of a template cannot be reassigned. The most common way to create a Template instance is to use the template string literal syntax . This syntax is identical to that of f-strings , except that it uses a t prefix in place of an f : >>> cheese = 'R...out of { cheese } , sir." >>> type ( template ) <class 'string.templatelib.Template'> Templates are stored as sequences of literal strings and dynamic interpolations . A values attribute holds the values of the interpolations: >>> cheese = 'Camembert' >...equivalent to tuple(i.value for i in template.interpolations) . メソッド __new__ ( * args : str | Interpolation ) ¶ While literal syntax is the most common way to create a Template , it is also possible to create them directly using the constructor: >>... - https://man.mtool.work/python/3.14/library/string.templatelib.html
- string.templatelib --- テンプレート文字列リテラルのサポート — Python 3.14.8 ド... 7585
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » string.templatelib --- テンプレート文字列リテラルのサポート テーマ 自動 ライト ダーク | string.templatelib -
...ibutes of a template cannot be reassigned. The most common way to create a Template instance is to use the template string literal syntax . This syntax is identical to that of f-strings , except that it uses a t prefix in place of an f : >>> cheese = 'R...out of { cheese } , sir." >>> type ( template ) <class 'string.templatelib.Template'> Templates are stored as sequences of literal strings and dynamic interpolations . A values attribute holds the values of the interpolations: >>> cheese = 'Camembert' >...equivalent to tuple(i.value for i in template.interpolations) . メソッド __new__ ( * args : str | Interpolation ) ¶ While literal syntax is the most common way to create a Template , it is also possible to create them directly using the constructor: >>... - https://man.mtool.work/python/3.14/library/string.templatelib.html
- What's New In Python 3.10 — Python 3.14.8 ドキュメント 7426
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と
...as expected. (Contributed by Alex Shkop in bpo-38302 .) Assignment expressions can now be used unparenthesized within set literals and set comprehensions, as well as in sequence indexes (but not slices). Functions have a new __builtins__ attribute whic...uted by Bas van Beek in bpo-41810 .) typing ¶ For major changes, see 型ヒントに関連する新しい機能 . The behavior of typing.Literal was changed to conform with PEP 586 and to match the behavior of static type checkers specified in the PEP. Literal now de...-duplicates parameters. Equality comparisons between Literal objects are now order independent. Literal comparisons now respect types. For example, Literal[0] == Literal[False] previo... - https://man.mtool.work/python/3.14/whatsnew/3.10.html
- What's New In Python 3.10 — Python 3.14.8 ドキュメント 7426
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.10 テーマ 自動 ライト ダーク | What's New In Python 3.10 ¶ 編集者 : Pablo Galindo Salgado この記事では Python 3.9 と
...as expected. (Contributed by Alex Shkop in bpo-38302 .) Assignment expressions can now be used unparenthesized within set literals and set comprehensions, as well as in sequence indexes (but not slices). Functions have a new __builtins__ attribute whic...uted by Bas van Beek in bpo-41810 .) typing ¶ For major changes, see 型ヒントに関連する新しい機能 . The behavior of typing.Literal was changed to conform with PEP 586 and to match the behavior of static type checkers specified in the PEP. Literal now de...-duplicates parameters. Equality comparisons between Literal objects are now order independent. Literal comparisons now respect types. For example, Literal[0] == Literal[False] previo... - https://man.mtool.work/python/3.14/whatsnew/3.10.html