Results of 1 - 1 of about 1 for maxstring (0.000 sec.)
- reprlib --- もう一つの repr() の実装 9414
- reprlib --- もう一つの repr() の実装 ソースコード: Lib/reprlib.py reprlib モジュールは、結果の文字列のサイズに対する制限付きでオブジェクト表現を生成するための手段を提供します。これは Python デバッガの中で使用されており、他の文脈でも同様に役
..., maxlevel = 6 , maxtuple = 6 , maxlist = 6 , maxarray = 5 , maxdict = 4 , maxset = 6 , maxfrozenset = 6 , maxdeque = 6 , maxstring = 30 , maxlong = 40 , maxother = 30 , fillvalue = '...' , indent = None ) 組み込み関数 repr() に似た関数を実装するために役...他に対しては 6 です。 Repr. maxlong 整数の表現のおける文字数の最大値。中央の数字が抜け落ちます。デフォルトは 40 です。 Repr. maxstring 文字列の表現における文字数の制限。文字列の"通常の"表現は文字の「元」として使われることに注意してください。表現にエスケープ...限は Repr オブジェクトに利用できる特定のフォーマットメソッドがないオブジェクト型のサイズをコントロールするために使われます。 maxstring と同じようなやり方で適用されます。デフォルトは 20 です。 Repr. indent この属性が None (デフォルト) の場合、標準の repr() と... - https://man.mtool.work/python/3.14/library/reprlib.html
PREV
1
NEXT