| 例文 |
"Format string"を含む例文一覧と使い方
該当件数 : 58件
An unrecognized format character causes all the rest of the format string to be copied as-is to the result string, and any extra arguments discarded.例文帳に追加
認識できない書式化文字があると書式化文字列の残りすべてがそのまま結果の文字列へコピーされ、余分の引数はどれも捨てられます。 - Python
.The email.Generator module also provides a derived class,called DecodedGenerator which is like the Generatorbase class, except that non-text parts are substituted with a format string representing the part.例文帳に追加
これは DecodedGenerator と呼ばれるもので、Generator 基底クラスと似ていますが、非text型の subpart を特定の書式でフォーマットされた表現形式で置きかえるところが違っています。 - Python
If the format string is empty, it returns None; if it contains exactly one format unit, it returns whatever object is described by that format unit.例文帳に追加
書式化文字列が空の場合、None を返します; 書式化単位が厳密に一つだけ入っている場合、書式化単位で指定されている何らかのオブジェクト単体を返します。 - Python
Otherwise, values must be a tuple with exactly the number of items specified by the format string, or a single mapping object (for example, a dictionary).A conversion specifier contains two or more characters and has the following components, which must occur in this order:例文帳に追加
一つの変換指定子は 2 またはそれ以上の文字を含み、その構成要素は以下からなりますが、示した順に出現しなければなりません: - Python
All other characters in the format string must have a matching character in the input string, except for whitespace, which matches zero or more whitespace characters in the input string. 例文帳に追加
format文字列中の他の全ての文字には、入力文字列にマッチする文字がなければならない。 フォーマット文字列中にある空白は例外であり、入力文字列中の 0 個以上の空白とマッチする。 - JM
For example, the format string '4h' means exactly the same as'hhhh'.Whitespace characters between formats are ignored; a count and its format must not contain whitespace though.For the "s" format character, the count is interpreted as the size of the string, not a repeat count like for the other format characters; for example, '10s' means a single 10-byte string, while'10c' means 10 characters.例文帳に追加
例えば、フォーマット文字列 '4h' は 'hhhh' と全く同じ意味です。 フォーマット文字間の空白文字は無視されます; count とフォーマット文字の間にはスペースを入れてはいけません。 - Python
Note that any Python object references which are provided to the caller are borrowed references; do not decrement their reference count!Additional arguments passed to these functions must be addresses of variables whose type is determined by the format string; these are used to store values from the input tuple.例文帳に追加
呼び出し側に提供される Python オブジェクトの参照は全て 借りた (borrowed) ものです; オブジェクトの参照カウントをデクリメントしてはなりません!以下の関数に渡す補助引数 (additional argument) は、書式化文字列から決定される型へのアドレスでなければなりません; 補助引数に指定したアドレスは、タプルから入力された値を保存するために使います。 - Python
It is possible to pass Python long integers where integers are requested; however no proper range checking is done -- the most significant bits are silently truncated when the receiving field is too small to receive the value (actually, the semantics are inherited from downcasts in C -- your mileage may vary).A few other characters have a meaning in a format string.例文帳に追加
Python 整数型を要求している場所に Python 長整数型を渡すのは可能です; しかしながら、適切な値域チェックはまったく行われません --値を受け取るためのフィールドが、値全てを受け取るには小さすぎる場合、上桁のビット群は暗黙のうちに切り詰められます (実際のところ、このセマンティクスは C のダウンキャスト (downcast) から継承しています -- その恩恵は人それぞれかもしれませんが)。 その他、書式化文字列において意味を持つ文字がいくつかあります。 - Python
| 例文 |
| この対訳コーパスは独立行政法人情報通信研究機構の研究成果であり、Creative Commons Attribution-Share Alike 3.0 Unportedでライセンスされています。 |
| Copyright (c) 2001 Robert Kiesling. Copyright (c) 2002, 2003 David Merrill. The contents of this document are licensed under the GNU Free Documentation License. Copyright (C) 1999 JM Project All rights reserved. |
| Copyright 2001-2004 Python Software Foundation.All rights reserved. Copyright 2000 BeOpen.com.All rights reserved. Copyright 1995-2000 Corporation for National Research Initiatives.All rights reserved. Copyright 1991-1995 Stichting Mathematisch Centrum.All rights reserved. |
|
ログイン |
Weblio会員(無料)になると
|
|
ログイン |
Weblio会員(無料)になると
|