per page, with , order by , clip by
Results of 1 - 3 of about 3 for Backslashes (0.003 sec.)
doctest --- 対話型の Python の例をテストする 11570
doctest --- 対話型の Python の例をテストする ソースコード: Lib/doctest.py doctest モジュールは Python の対話セッションに見えるテキストを探し、そのセッションを実行して記載どおりに動作するか検証します。 主な使い方は次のとおりです。 モジュール ... いる場合、raw docstring を使ってバックスラッシュを入力どおりに扱わせるようにしなければなりません: >>> def f ( x ): ... r '''Backslashes in a raw docstring: m\n''' ... >>> print ( f . __doc__ ) Backslashes in a raw docstring: m\n そうしない場合は、バックスラッ ... は、doctest にあるバックスラッシュを二重にする (そして raw string を使わない) という方法もあります: >>> def f ( x ): ... '''Backslashes in a raw docstring: m\\n''' ... >>> print ( f . __doc__ ) Backslashes in a raw docstring: m\n 開始カラムはどこでもかまいま ...
https://man.mtool.work/python/3.14/library/doctest.html
token --- Python 解析木で使われる定数 9301
token --- Python 解析木で使われる定数 ソースコード: Lib/token.py このモジュールは解析木の葉ノード(終端記号)の数値を表す定数を提供します。言語の文法のコンテキストにおける名前の定義については、 Python ディストリビューションのファイル Grammar/ ... ing literals . The token string is not interpreted: it includes the surrounding quotation marks and the prefix (if given); backslashes are included literally, without processing escape sequences. token. OP 演算子 または 区切り文字 を示す汎用的なトークン値で ...
https://man.mtool.work/python/3.14/library/token.html
2. 字句解析 7013
2. 字句解析 Python プログラムは パーザ によって読み取られます。 パーザへの入力は、 字句解析器 (または トークナイザ ) が生成した トークン の列です。 この章では、字句解析器がこれらのトークンを生成する方法を説明します。 字句解析器はプログラムの ... de 文字 2.5.4.1. 行末の無視 行末にバックスラッシュを付けると、改行を無視できます。 >>> 'This string will not include \ ... backslashes or newline characters.' 'This string will not include backslashes or newline characters.' 三重クォート文字列 や、丸括弧と ...
https://man.mtool.work/python/3.14/reference/lexical_analysis.html
PREV 1 NEXT