Results of 1 - 10 of about 204 for Repr (0.047 sec.)
- reprlib --- もう一つの repr() の実装 — Python 3.14.8 ドキュメント 14455
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » reprlib --- もう一つの repr() の実装 テーマ 自動 ライト ダーク | reprlib --- もう一つの repr() の実装 ¶ ソースコード: Li
...b/reprlib.py reprlib モジュールは、結果の文字列のサイズに対する制限付きでオブジェクト表現を生成するための手段を提供します。これは...用されており、他の文脈でも同様に役に立つかもしれません。 このモジュールはクラスとインスタンス、それに関数を提供します: class reprlib. Repr ( * , maxlevel = 6 , maxtuple = 6 , maxlist = 6 , maxarray = 5 , maxdict = 4 , maxset = 6 , maxfrozenset = 6 , ma...xdeque = 6 , maxstring = 30 , maxlong = 40 , maxother = 30 , fillvalue = '...' , indent = None ) ¶ 組み込み関数 repr() に似た関数を実装するために役に立つフォーマット用サービスを提供します。 過度に長い表現を作り出さないようにするための大きさ... - https://man.mtool.work/python/3.14/library/reprlib.html
- reprlib --- もう一つの repr() の実装 — Python 3.14.8 ドキュメント 14455
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » reprlib --- もう一つの repr() の実装 テーマ 自動 ライト ダーク | reprlib --- もう一つの repr() の実装 ¶ ソースコード: Li
...b/reprlib.py reprlib モジュールは、結果の文字列のサイズに対する制限付きでオブジェクト表現を生成するための手段を提供します。これは...用されており、他の文脈でも同様に役に立つかもしれません。 このモジュールはクラスとインスタンス、それに関数を提供します: class reprlib. Repr ( * , maxlevel = 6 , maxtuple = 6 , maxlist = 6 , maxarray = 5 , maxdict = 4 , maxset = 6 , maxfrozenset = 6 , ma...xdeque = 6 , maxstring = 30 , maxlong = 40 , maxother = 30 , fillvalue = '...' , indent = None ) ¶ 組み込み関数 repr() に似た関数を実装するために役に立つフォーマット用サービスを提供します。 過度に長い表現を作り出さないようにするための大きさ... - https://man.mtool.work/python/3.14/library/reprlib.html
- 変更履歴 — Python 3.14.8 ドキュメント 8216
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...y the AST optimizer that was lost when constant folding moved to the CFG. gh-146096 : Fixed segmentation fault when called repr for BaseExceptionGroup with empty or 1-size tuple args. gh-85260 : compile() now raises ValueError instead of crashing on...gh-155952 : Fix the signatures of sqlite3.Connection.execute() , warnings.warn() and locale.setlocale() which rendered <unrepresentable> instead of the correct defaults for parameters. gh-155888 : Fix asyncio.WriteTransport.writelines() hanging the...hh instead of raising an exception. Patch by Victor Stinner. gh-113318 : Fix Argument Clinic for @getter and @setter in a preprocessor conditional block. It failed with an internal error. Argument Clinic now also rejects the accessors of the same att... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
- dataclasses --- データクラス — Python 3.14.8 ドキュメント 7500
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » dataclasses --- データクラス テーマ 自動 ライト ダーク | dataclasses --- データクラス ¶ ソースコード: L
...ib/dataclasses.py このモジュールは、 __init__() や __repr__() のような 特殊メソッド を生成し、ユーザー定義のクラスに自動的に追加するデコレーターや関数を提供します。このモジュールは...ドが直接明記されるわけではありません。 Added in version 3.7. モジュールの内容 ¶ @ dataclasses. dataclass ( * , init = True , repr = True , eq = True , order = False , unsafe_hash = False , frozen = False , match_args = True , kw_only = False , slots =...e three uses of @dataclass are equivalent: @dataclass class C : ... @dataclass () class C : ... @dataclass ( init = True , repr = True , eq = True , order = False , unsafe_hash = False , frozen = False , match_args = True , kw_only = False , slots =... - https://man.mtool.work/python/3.14/library/dataclasses.html
- dataclasses --- データクラス — Python 3.14.8 ドキュメント 7500
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python ランタイムサービス » dataclasses --- データクラス テーマ 自動 ライト ダーク | dataclasses --- データクラス ¶ ソースコード: L
...ib/dataclasses.py このモジュールは、 __init__() や __repr__() のような 特殊メソッド を生成し、ユーザー定義のクラスに自動的に追加するデコレーターや関数を提供します。このモジュールは...ドが直接明記されるわけではありません。 Added in version 3.7. モジュールの内容 ¶ @ dataclasses. dataclass ( * , init = True , repr = True , eq = True , order = False , unsafe_hash = False , frozen = False , match_args = True , kw_only = False , slots =...e three uses of @dataclass are equivalent: @dataclass class C : ... @dataclass () class C : ... @dataclass ( init = True , repr = True , eq = True , order = False , unsafe_hash = False , frozen = False , match_args = True , kw_only = False , slots =... - https://man.mtool.work/python/3.14/library/dataclasses.html
- 7. Input and Output — Python 3.14.8 ドキュメント 7062
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 7. Input and Output テーマ 自動 ライト ダーク | 7. Input and Output ¶ プログラムの出力方法にはいくつかの種類があります。 データを人間が読
...利な操作を行うメソッドがいくつかあります。 凝った出力である必要は無いけれど、デバッグ目的で変数をすばやく表示したいときは、 repr() 関数か str() 関数でどんな値も文字列に変換できます。 str() 関数は値の人間に読める表現を返すためのもので、 repr() 関数はイ...taxError になるような) 表現を返すためのものです。人間が読むのに適した特定の表現を持たないオブジェクトにおいては、 str() は repr() と同じ値を返します。数値や、リストや辞書を始めとするデータ構造など、多くの値がどちらの関数に対しても同じ表現を返します。...一方、文字列は、2つの異なる表現を持っています。 いくつかの例です: >>> s = 'Hello, world.' >>> str ( s ) 'Hello, world.' >>> repr ( s ) "'Hello, world.'" >>> str ( 1 / 7 ) '0.14285714285714285' >>> x = 10 * 3.25 >>> y = 200 * 200 >>> s = 'The value of... - https://man.mtool.work/python/3.14/tutorial/inputoutput.html
- 7. Input and Output — Python 3.14.8 ドキュメント 7062
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 7. Input and Output テーマ 自動 ライト ダーク | 7. Input and Output ¶ プログラムの出力方法にはいくつかの種類があります。 データを人間が読
...利な操作を行うメソッドがいくつかあります。 凝った出力である必要は無いけれど、デバッグ目的で変数をすばやく表示したいときは、 repr() 関数か str() 関数でどんな値も文字列に変換できます。 str() 関数は値の人間に読める表現を返すためのもので、 repr() 関数はイ...taxError になるような) 表現を返すためのものです。人間が読むのに適した特定の表現を持たないオブジェクトにおいては、 str() は repr() と同じ値を返します。数値や、リストや辞書を始めとするデータ構造など、多くの値がどちらの関数に対しても同じ表現を返します。...一方、文字列は、2つの異なる表現を持っています。 いくつかの例です: >>> s = 'Hello, world.' >>> str ( s ) 'Hello, world.' >>> repr ( s ) "'Hello, world.'" >>> str ( 1 / 7 ) '0.14285714285714285' >>> x = 10 * 3.25 >>> y = 200 * 200 >>> s = 'The value of... - https://man.mtool.work/python/3.14/tutorial/inputoutput.html
- enum --- 列挙型のサポート — Python 3.14.8 ドキュメント 6955
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » enum --- 列挙型のサポート テーマ 自動 ライト ダーク | enum --- 列挙型のサポート ¶ Added in version 3.4. ソースコード: Li
...ット演算子を使って組み合わせられ、その結果も IntFlag メンバーになります。 IntFlag は int のサブクラスでもあります。( Notes ) ReprEnum IntEnum 、 StrEnum 、および IntFlag によって使用され、mix-inされた型の str() を保持します。 EnumCheck CONTINUOUS 、 NA...タとして使用できます。 @nonmember obj をメンバーにしません。デコレータとして使用できます。 @global_enum Modify the str() and repr() of an enum to show its members as belonging to the module instead of its class, and export the enum members to the globa...es() フラグに含まれる、全ての2の累乗の整数のリストを返します。 enum.bin() Like built-in bin() , except negative values are represented in two's complement, and the leading bit always indicates sign ( 0 implies positive, 1 implies negative). Added in... - https://man.mtool.work/python/3.14/library/enum.html
- enum --- 列挙型のサポート — Python 3.14.8 ドキュメント 6955
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » enum --- 列挙型のサポート テーマ 自動 ライト ダーク | enum --- 列挙型のサポート ¶ Added in version 3.4. ソースコード: Li
...ット演算子を使って組み合わせられ、その結果も IntFlag メンバーになります。 IntFlag は int のサブクラスでもあります。( Notes ) ReprEnum IntEnum 、 StrEnum 、および IntFlag によって使用され、mix-inされた型の str() を保持します。 EnumCheck CONTINUOUS 、 NA...タとして使用できます。 @nonmember obj をメンバーにしません。デコレータとして使用できます。 @global_enum Modify the str() and repr() of an enum to show its members as belonging to the module instead of its class, and export the enum members to the globa...es() フラグに含まれる、全ての2の累乗の整数のリストを返します。 enum.bin() Like built-in bin() , except negative values are represented in two's complement, and the leading bit always indicates sign ( 0 implies positive, 1 implies negative). Added in... - https://man.mtool.work/python/3.14/library/enum.html
- 索引 — Python 3.14.8 ドキュメント 6784
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – M M (re モジュール) mac_ver() (platform モジュール) MACHDEP コマンドラインオプション machine (os.uname_result の属性) machine() (platf
...ress の属性) (ipaddress.IPv6Network の属性) MAX_Py_ssize_t (test.support モジュール) MAX_WBITS (zlib モジュール) maxarray (reprlib.Repr の属性) maxdeque (reprlib.Repr の属性) maxdict (reprlib.Repr の属性) maxDiff (unittest.TestCase の属性) maxfrozens...et (reprlib.Repr の属性) MAXIMUM_SUPPORTED (ssl.TLSVersion の属性) maximum_version (ssl.SSLContext の属性) maxlen (collections.dequ...e の属性) maxlevel (reprlib.Repr の属性) maxlist (reprlib.Repr の属性) maxlong (reprlib.Repr の属性) maxother (reprlib.Repr の属性) maxset (reprlib... - https://man.mtool.work/python/3.14/genindex-M.html