| 例文 |
ValueErrorを含む例文一覧と使い方
該当件数 : 46件
If that is deeper than the call stack,ValueError is raised. 例文帳に追加
depthがコールスタックよりも深ければ、ValueErrorが発生します。 - Python
ValueError is returned if size is not zero or positive.例文帳に追加
size がゼロまたは正の値でない場合、ValueError を送出します。 - Python
Raising a negative number to a fractional power results in a ValueError.例文帳に追加
負の数を小数でべき乗すると ValueErrorになります。 - Python
Negative shift counts raise a ValueError exception.例文帳に追加
負のビット数でシフトを行うと、 ValueError 例外を送出します。 - Python
If it is set to 'raise' a ValueError is raised.例文帳に追加
この値が'raise' に設定されている場合 ValueError が送出されます。 - Python
If an argument outside those ranges is given, ValueError is raised.例文帳に追加
範囲を超えた引数を与えた場合、ValueError が送出されます。 - Python
If an argument outside those ranges is given,ValueError is raised. 例文帳に追加
引数がこれらの範囲外にある場合、ValueError が送出されます。 - Python
It defaults to 'strict', which causes ValueError to be raised in case an encoding error occurs.例文帳に追加
デフォルトでは 'strict' で、エンコード時にエラーがあれば ValueError を送出します。 - Python
It defaults to 'strict' which causes a ValueError to be raised in case an encoding error occurs.例文帳に追加
デフォルトでは 'strict' で、エンコード時にエラーがあれば ValueError を送出します。 - Python
If no valid value is read, raise EOFError, ValueError or TypeError.例文帳に追加
有効な値が読み出せなかった場合、EOFError、ValueError、またはTypeError を送出します。 - Python
If no valid value is found, raise EOFError, ValueError or TypeError.例文帳に追加
有効な値が見つからなかった場合、EOFError、 ValueError、またはTypeError が送出されます。 - Python
For example, whethermath.log(0) returns -Inf or raises ValueError or OverflowError isn't defined, and in cases where math.log(0) raises OverflowError,math.log(0L) may raise ValueError instead.例文帳に追加
例えば、math.log(0) が -Inf を返すか ValueError または OverflowError を送出するかは不定であり、math.log(0) が OverflowError を送出する場合においてmath.log(0L) が ValueError を送出するときもあります。 - Python
If string cannot be parsedaccording to format, ValueError is raised. 例文帳に追加
string が format に従って解釈できなかった場合、例外 ValueError が送出されます。 - Python
The array must be a type 'u' array; otherwise a ValueError is raised.例文帳に追加
アレイの型コードは 'u' でなければなりません。 それ以外の場合には ValueError を送出します。 - Python
Changed in version 2.3:When specified, the mode argument must now start with one of the letters "r", "w", or "a",otherwise a ValueError is raised.例文帳に追加
利用できる環境: Macintosh、 Unix、Windows - Python
The radix must be in the range [2, 36]; if it is out of range, ValueError will be raised.New in version 1.6.例文帳に追加
基数は範囲 [2, 36] になければなりません; 範囲外の基数を指定すると、ValueError を送出します。 - Python
If the string to be parsed has excess data after parsing,ValueError is raised.例文帳に追加
解析しようとする文字列が解析後に余分なデータを持っていた場合、ValueError が送出されます。 - Python
Changed in version 2.4:ValueError raised if a field in t is out of range..例文帳に追加
バージョン 2.4 で 変更 された仕様:t のフィールド値が許容範囲外の値の場合にValueError を送出するようになりました - Python
It is a subclass of ValueError.New in version 2.0.例文帳に追加
ValueError のサブクラスです。 バージョン 2.0 で 新たに追加 された仕様です。 - Python
If no name is defined,default is returned, or, if not given,ValueError is raised. 例文帳に追加
名前が定義されていない場合には default が返されますが、この引数が与えられていなければ ValueError を発生させます。 - Python
If no such value is defined,default is returned, or, if not given,ValueError is raised. 例文帳に追加
この値が定義されていない場合には default が返されますが、この引数が与えられていなければ ValueError を発生させます。 - Python
The argument must be in the range [0..255], inclusive; ValueError will be raised if i is outside that range.例文帳に追加
引数は [0..255] の両端を含む範囲内に収まらなければなりません; i が範囲外の値のときにはValueError が送出されます。 - Python
Raise a ValueError exception if value has (or contains an object that has) an unsupported type.例文帳に追加
値がサポートされていない型 (またはサポートされていない型のオブジェクトを含むような) オブジェクトの場合、ValueError 例外が送出されます。 - Python
Set the main type and subtype for the Content-Type:header. type must be a string in the formmaintype/subtype, otherwise a ValueError israised.This method replaces the Content-Type: header, keeping all the parameters in place.例文帳に追加
それ以外の場合は ValueError が発生します。 このメソッドは Content-Type: ヘッダを置き換えますが、すべてのパラメータはそのままにします。 - Python
Packs a fixed length list (array) of homogeneous items. nis the length of the list; it is not packed into the buffer,but a ValueError exception is raised iflen(array) is not equal to n. 例文帳に追加
n はリストの長さです。 この値はデータバッファにパックされません が、len(array) が n と等しくない場合、例外 ValueError が送出されます。 - Python
Extends this array with data from the given unicode string. The array must be a type 'u' array; otherwise a ValueError is raised.例文帳に追加
指定した Unicode 文字列のデータを使ってアレイを拡張します。 - Python
A closed file cannot be read or written any more.Any operation which requires that the file be open will raise a ValueError after the file has been closed.例文帳に追加
閉じられたファイルはそれ以後読み書きすることはできません。 ファイルが開かれていることが必要な操作は、ファイルが閉じられた後はすべて ValueError を送出します。 - Python
ValueError is raised if any field in t is outside of the allowed range.Changed in version 2.1:Allowed t to be omitted.例文帳に追加
t のいずれかのフィールドが許容範囲外の数値であった場合、ValueError を送出します。 バージョン 2.1 で 変更 された仕様:t を省略できるようになりました。 - Python
The Cimplementation of Python 2.3 and newer makes the list appear empty for the duration, and raises ValueError if it can detect that the list has been mutated during a sort.例文帳に追加
Python 2.3以降 の C 実装では、この間リストは空に見えるようになり、並べ替え中にリストが変更されたことが検出されると ValueErrorが送出されます。 - Python
65535], inclusive.ValueError is raised otherwise.New in version 2.0. 例文帳に追加
それ以外の値に対しては ValueError が送出されます。 バージョン 2.0 で 新たに追加 された仕様です。 - Python
RaisesValueError on non-Unix-ish systems if pathname either starts or ends with a slash. 例文帳に追加
もし pathname の最初または最後が スラッシュの場合、Unix的でないシステムではValueErrorが起きます。 - Python
greater than stop. step must not be zero (or elseValueError is raised). 例文帳に追加
の最小値になります。 step はゼロであってはなりません (さもなければ ValueErrorが送出されます)。 - Python
This raises TypeError if base doesn't support the read-onlybuffer protocol or doesn't provide exactly one buffer segment, or it raises ValueError if offset is less than zero.例文帳に追加
base が読み出し専用バッファに必要なバッファプロトコルをサポートしていない場合や、厳密に一つのバッファセグメントを提供していない場合にはTypeError を送出し、offset がゼロ以下の場合にはValueError を送出します。 - Python
It must be opened in binary mode('wb' or 'w+b').If the value has (or contains an object that has) an unsupported type,a ValueError exception is raised -- but garbage data will also be written to the file.例文帳に追加
またファイルはバイナリモード('wb' または 'w+b') で開かれていなければなりません。 値 (または値のオブジェクトに含まれるオブジェクト) がサポートされていない型の場合、ValueError 例外が送出されます -- が、同時にごみのデータがファイルに書き込まれます。 - Python
If the input value cannot be represented as a valid time, either OverflowError or ValueError will be raised (which depends on whether the invalid value is caught by Python or the underlying C libraries).例文帳に追加
入力の値が正しい時刻で表現できない場合、例外OverflowErrorまたは ValueError が送出されます (どちらが送出されるかはPython および その下にある C ライブラリのどちらにとって無効な値が入力されたかで決まります) 。 - Python
The value must be a one-character string; a ValueError will be raised if the string has an illegal length (None is considered the same asomission). When namespace processing is enabled, element type names and attribute names that belong to a namespace will be expanded.例文帳に追加
この値は、1文字の文字列でなければなりません; 文字列が誤った長さを持つ場合には ValueError が送出されます (None は値の省略と見なされます) 名前空間の処理が可能なとき、名前空間に属する要素と属性が展開されます。 - Python
signal(2).)When threads are enabled, this function can only be called from the main thread; attempting to call it from other threads will cause a ValueError exception to be raised. The handler is called with two arguments: the signal number and the current stack frame (None or a frame object;for a description of frame objects, see the reference manual section on the standard type hierarchy or see the attribute descriptions in the例文帳に追加
)複数スレッドの使用が有効な場合、この関数は主スレッドからのみ呼び出すことができます; 主スレッド以外のスレッドで呼び出そうとすると、例外ValueError が送出されます。 handler は二つの引数: シグナル番号、および現在のスタックフレーム(None またはフレームオブジェクト; フレームオブジェクトについての記述はリファレンスマニュアルの標準型の階層 か、 - Python
| 例文 |
| この対訳コーパスは独立行政法人情報通信研究機構の研究成果であり、Creative Commons Attribution-Share Alike 3.0 Unportedでライセンスされています。 |
| 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会員(無料)になると
|