per page, with , order by , clip by
Results of 1 - 10 of about 66 for indent (0.009 sec.)
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 13898
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... of the module's type ignore comments; see ast.parse() for more details. >>> print ( ast . dump ( ast . parse ( 'x = 1' ), indent = 4 )) Module( body=[ Assign( targets=[ Name(id='x', ctx=Store())], value=Constant(value=1))]) class ast. Expression ( bod ... al" . body is a single node, one of the expression types . >>> print ( ast . dump ( ast . parse ( '123' , mode = 'eval' ), indent = 4 )) Expression( body=Constant(value=123)) class ast. Interactive ( body ) ¶ A single interactive input , like in 対話モ ... "single" . body is a list of statement nodes . >>> print ( ast . dump ( ast . parse ( 'x = 1; y = 2' , mode = 'single' ), indent = 4 )) Interactive( body=[ Assign( targets=[ Name(id='x', ctx=Store())], value=Constant(value=1)), Assign( targets=[ Name( ...
https://man.mtool.work/python/3.14/library/ast.html
ast --- Abstract syntax trees — Python 3.14.8 ドキュメント 13898
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » Python言語サービス » ast --- Abstract syntax trees テーマ 自動 ライト ダーク | ast --- Abstract syntax trees ¶ ソースコード: Lib/as ... of the module's type ignore comments; see ast.parse() for more details. >>> print ( ast . dump ( ast . parse ( 'x = 1' ), indent = 4 )) Module( body=[ Assign( targets=[ Name(id='x', ctx=Store())], value=Constant(value=1))]) class ast. Expression ( bod ... al" . body is a single node, one of the expression types . >>> print ( ast . dump ( ast . parse ( '123' , mode = 'eval' ), indent = 4 )) Expression( body=Constant(value=123)) class ast. Interactive ( body ) ¶ A single interactive input , like in 対話モ ... "single" . body is a list of statement nodes . >>> print ( ast . dump ( ast . parse ( 'x = 1; y = 2' , mode = 'single' ), indent = 4 )) Interactive( body=[ Assign( targets=[ Name(id='x', ctx=Store())], value=Constant(value=1)), Assign( targets=[ Name( ...
https://man.mtool.work/python/3.14/library/ast.html
json --- JSON エンコーダーとデコーダー — Python 3.14.8 ドキュメント 9204
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » json --- JSON エンコーダーとデコーダー テーマ 自動 ライト ダーク | json --- JSON エンコーダーとデコ ... '[1,2,3,{"4":5,"6":7}]' 見やすい表示: >>> import json >>> print ( json . dumps ({ '6' : 7 , '4' : 5 }, sort_keys = True , indent = 4 )) { "4": 5, "6": 7 } JSON オブジェクトのエンコーディング方法をカスタマイズする: >>> import json >>> def custom_json ( ... on. dump ( obj , fp , * , skipkeys = False , ensure_ascii = True , check_circular = True , allow_nan = True , cls = None , indent = None , separators = None , default = None , sort_keys = False , ** kw ) ¶ この PythonからJSONへの変換表 を使って、 obj を ... r with the default() method overridden, for serializing into custom datatypes. If None (the default), JSONEncoder is used. indent ( int | str | None ) -- If a positive integer or string, JSON array elements and object members will be pretty-printed wit ...
https://man.mtool.work/python/3.14/library/json.html
json --- JSON エンコーダーとデコーダー — Python 3.14.8 ドキュメント 9204
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » インターネット上のデータの操作 » json --- JSON エンコーダーとデコーダー テーマ 自動 ライト ダーク | json --- JSON エンコーダーとデコ ... '[1,2,3,{"4":5,"6":7}]' 見やすい表示: >>> import json >>> print ( json . dumps ({ '6' : 7 , '4' : 5 }, sort_keys = True , indent = 4 )) { "4": 5, "6": 7 } JSON オブジェクトのエンコーディング方法をカスタマイズする: >>> import json >>> def custom_json ( ... on. dump ( obj , fp , * , skipkeys = False , ensure_ascii = True , check_circular = True , allow_nan = True , cls = None , indent = None , separators = None , default = None , sort_keys = False , ** kw ) ¶ この PythonからJSONへの変換表 を使って、 obj を ... r with the default() method overridden, for serializing into custom datatypes. If None (the default), JSONEncoder is used. indent ( int | str | None ) -- If a positive integer or string, JSON array elements and object members will be pretty-printed wit ...
https://man.mtool.work/python/3.14/library/json.html
textwrap --- テキストの折り返しと詰め込み — Python 3.14.8 ドキュメント 9032
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » textwrap --- テキストの折り返しと詰め込み テーマ 自動 ライト ダーク | textwrap --- テキストの折り返しと詰め込 ... ugh; otherwise, you should use an instance of TextWrapper for efficiency. textwrap. wrap ( text , width = 70 , * , initial_indent = '' , subsequent_indent = '' , expand_tabs = True , replace_whitespace = True , fix_sentence_endings = False , break_long ... () の動作についての詳細は TextWrapper.wrap() メソッドを参照してください。 textwrap. fill ( text , width = 70 , * , initial_indent = '' , subsequent_indent = '' , expand_tabs = True , replace_whitespace = True , fix_sentence_endings = False , break_long ... ly whitespace characters. Previously, the implementation only normalized blank lines containing tabs and spaces. textwrap. indent ( text , prefix , predicate = None ) ¶ text の中の選択された行の先頭に prefix を追加します。 行の分割は text.splitlines(Tr ...
https://man.mtool.work/python/3.14/library/textwrap.html
textwrap --- テキストの折り返しと詰め込み — Python 3.14.8 ドキュメント 9032
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » テキスト処理サービス » textwrap --- テキストの折り返しと詰め込み テーマ 自動 ライト ダーク | textwrap --- テキストの折り返しと詰め込 ... ugh; otherwise, you should use an instance of TextWrapper for efficiency. textwrap. wrap ( text , width = 70 , * , initial_indent = '' , subsequent_indent = '' , expand_tabs = True , replace_whitespace = True , fix_sentence_endings = False , break_long ... () の動作についての詳細は TextWrapper.wrap() メソッドを参照してください。 textwrap. fill ( text , width = 70 , * , initial_indent = '' , subsequent_indent = '' , expand_tabs = True , replace_whitespace = True , fix_sentence_endings = False , break_long ... ly whitespace characters. Previously, the implementation only normalized blank lines containing tabs and spaces. textwrap. indent ( text , prefix , predicate = None ) ¶ text の中の選択された行の先頭に prefix を追加します。 行の分割は text.splitlines(Tr ...
https://man.mtool.work/python/3.14/library/textwrap.html
DTrace と SystemTap で CPython を測定する — Python 3.14.8 ドキュメント 8462
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » DTrace と SystemTap で CPython を測定する テーマ 自動 ライト ダーク | DTrace と SystemTap で CPython を測定する ¶ author : David Malcolm author : ... cation of a function called "start". In other words, import-time function invocations are not going to be listed: self int indent; python$target:::function-entry /copyinstr(arg1) == "start"/ { self->trace = 1; } python$target:::function-entry /self->tr ... ace/ { printf("%d\t%*s:", timestamp, 15, probename); printf("%*s", self->indent, ""); printf("%s:%s:%d\n", basename(copyinstr(arg0)), copyinstr(arg1), arg2); self->indent++; } python$target:::function-r ... eturn /self->trace/ { self->indent--; printf("%d\t%*s:", timestamp, 15, probename); printf("%*s", self->indent, ""); printf("%s:%s:%d\n", basename(copyinstr( ...
https://man.mtool.work/python/3.14/howto/instrumentation.html
reprlib --- もう一つの repr() の実装 — Python 3.14.8 ドキュメント 8290
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » reprlib --- もう一つの repr() の実装 テーマ 自動 ライト ダーク | reprlib --- もう一つの repr() の実装 ¶ ソースコード: Li ... t = 4 , maxset = 6 , maxfrozenset = 6 , maxdeque = 6 , maxstring = 30 , maxlong = 40 , maxother = 30 , fillvalue = '...' , indent = None ) ¶ 組み込み関数 repr() に似た関数を実装するために役に立つフォーマット用サービスを提供します。 過度に長い表現を作り ... クト型のサイズをコントロールするために使われます。 maxstring と同じようなやり方で適用されます。デフォルトは 20 です。 Repr. indent ¶ If this attribute is set to None (the default), the output is formatted with no line breaks or indentation, like the sta ... ib . Repr () >>> print ( aRepr . repr ( example )) [1, 'spam', {'a': 2, 'b': 'spam eggs', 'c': {3: 4.5, 6: []}}, 'ham'] If indent is set to a string, each recursion level is placed on its own line, indented by that string: >>> aRepr . indent = '-->' >> ...
https://man.mtool.work/python/3.14/library/reprlib.html
reprlib --- もう一つの repr() の実装 — Python 3.14.8 ドキュメント 8290
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » データ型 » reprlib --- もう一つの repr() の実装 テーマ 自動 ライト ダーク | reprlib --- もう一つの repr() の実装 ¶ ソースコード: Li ... t = 4 , maxset = 6 , maxfrozenset = 6 , maxdeque = 6 , maxstring = 30 , maxlong = 40 , maxother = 30 , fillvalue = '...' , indent = None ) ¶ 組み込み関数 repr() に似た関数を実装するために役に立つフォーマット用サービスを提供します。 過度に長い表現を作り ... クト型のサイズをコントロールするために使われます。 maxstring と同じようなやり方で適用されます。デフォルトは 20 です。 Repr. indent ¶ If this attribute is set to None (the default), the output is formatted with no line breaks or indentation, like the sta ... ib . Repr () >>> print ( aRepr . repr ( example )) [1, 'spam', {'a': 2, 'b': 'spam eggs', 'c': {3: 4.5, 6: []}}, 'ham'] If indent is set to a string, each recursion level is placed on its own line, indented by that string: >>> aRepr . indent = '-->' >> ...
https://man.mtool.work/python/3.14/library/reprlib.html
DTrace と SystemTap で CPython を測定する — Python 3.14.8 ドキュメント 8233
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » DTrace と SystemTap で CPython を測定する テーマ 自動 ライト ダーク | DTrace と SystemTap で CPython を測定する ¶ author : David Malcolm author : ... cation of a function called "start". In other words, import-time function invocations are not going to be listed: self int indent; python$target:::function-entry /copyinstr(arg1) == "start"/ { self->trace = 1; } python$target:::function-entry /self->tr ... ace/ { printf("%d\t%*s:", timestamp, 15, probename); printf("%*s", self->indent, ""); printf("%s:%s:%d\n", basename(copyinstr(arg0)), copyinstr(arg1), arg2); self->indent++; } python$target:::function-r ... eturn /self->trace/ { self->indent--; printf("%d\t%*s:", timestamp, 15, probename); printf("%*s", self->indent, ""); printf("%s:%s:%d\n", basename(copyinstr( ...
https://man.mtool.work/python/3.14/howto/instrumentation.html
PREV 1 2 3 4 5 6 7 NEXT