1153万例文収録!

「typeerror」に関連した英語例文の一覧と使い方 - Weblio英語例文検索


小窓モード

プレミアム

ログイン
設定

設定

Weblio 辞書 > 英和辞典・和英辞典 > typeerrorに関連した英語例文

セーフサーチ:オン

不適切な検索結果を除外する

不適切な検索結果を除外しない

セーフサーチについて

typeerrorを含む例文一覧と使い方

該当件数 : 55



例文

uses standard Python exceptions such as TypeError and AttributeError.例文帳に追加

は、TypeError や AttributeError といった標準の Python 例外を使います。 - Python

If coercion is not possible, raise TypeError. 例文帳に追加

型変換が不可能である場合、TypeError を送出します。 - Python

Raises TypeError if the object is not a Unicode object.例文帳に追加

オブジェクトが Unicode オブジェクトでない場合にはTypeErrorを送出します。 - Python

Attempting to set a method attribute results in a TypeError being raised.例文帳に追加

メソッド属性の設定を試みると TypeError が送出されます。 - Python

例文

If the Python object does not have the required type,TypeError is raised.例文帳に追加

Python オブジェクトが指定した型ではない場合、TypeError を送出します。 - Python


例文

Raises TypeError if the object is not a string object.例文帳に追加

オブジェクトが文字列オブジェクトでない場合にはTypeErrorを送出します。 - 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

If one comparand is naive and the other is aware,TypeError is raised. 例文帳に追加

被演算子の片方が naive でもう一方が aware の場合、TypeError が送出されます。 - Python

例文

On error, sets the appropriate exception(EOFError or TypeError) and returns NULL. 例文帳に追加

エラーが生じた場合、適切な例外 (EOFError またはTypeError) を送出して NULLを返します。 - Python

例文

Note:These cannot be decoded; passing a non-NULLvalue for encoding will result in a TypeError. 例文帳に追加

注意:Unicode オブジェクトはデコードできません; encoding に NULL でない値を渡すと、TypeError になります。 - Python

Returns -1 and sets a TypeError on error.New in version 1.6. 例文帳に追加

エラーの際には -1 を返し、TypeError をセットします。 バージョン 1.6 で 新たに追加 された仕様です。 - Python

If this is also not implemented or returns NotImplemented, a TypeError exception is raised.例文帳に追加

この演算も実装されていないか、NotImplemented を返すなら、 TypeError例外が送出されます。 - Python

The , =, and =operators will raise a TypeError exception when any operand is a complex number.例文帳に追加

被演算子が複素数の場合、演算子 、 = 、 および = は例外 TypeError を送出します。 - Python

This will fail with a TypeError if the object is a built-in module, class, or function.例文帳に追加

オブジェクトが組み込みモジュール・クラス・関数の場合はTypeError例外が発生します。 - Python

This will fail with a TypeError if the objectis a built-in module, class, or function. 例文帳に追加

オブジェクトが組み込みのモジュール、クラス、関数の場合には、TypeError例外が発生します。 - Python

If the object is not a sequence, raises TypeError with m as the message text.例文帳に追加

オブジェクトがシーケンスでなければ、m がメッセージテキストになっているTypeError を送出します。 - Python

Only single-segment buffer objects are accepted; TypeError is raised for all others.例文帳に追加

単一セグメントからなるバッファオブジェクトだけを受理します;それ以外の場合には TypeError を送出します。 - Python

If the base object does not export the writeable buffer protocol,then TypeError is raised.例文帳に追加

base オブジェクトが書き込み可能バッファに必要なバッファプロトコルを公開していない場合、TypeError を送出します。 - Python

If object is not callable (and hence not valid as a constructor), raises TypeError.例文帳に追加

objectが呼び出し可能でなければ(そして、それゆえコンストラクタとして有効でないならば)、TypeErrorを発生します。 - Python

In all three cases, if the argument does not have the proper type,a TypeError exception is raised. 例文帳に追加

上記の三つはいずれも、引数が正しい型でない場合には TypeError例外が送出されます。 - Python

It should yield an object with assignableattributes; if this is not the case, TypeError is raised. 例文帳に追加

値は代入可能な属性を伴うオブジェクトでなければなりません; そうでなければ、 TypeError が送出されます。 - Python

If the third object is present and not a traceback object or None, a TypeError exception is raised.例文帳に追加

第三のオブジェクトが存在し、オブジェクトがトレースバックオブジェクトでも None でもなければ、TypeError 例外が送出されます。 - Python

These functions raise TypeError when expecting a string parameter and are called with a non-string parameter.例文帳に追加

以下の関数では、文字列が渡されるはずのパラメタに非文字列が渡された場合に TypeError を送出します。 - Python

If there are any unfilled slots for which no default value is specified, a TypeError exception is raised.例文帳に追加

)デフォルト値が指定されていない、値の埋められていないスロットが残っている場合、TypeError 例外が送出されます。 - Python

When an object does not support attribute references or attribute assignmentsat all, TypeError is raised.例文帳に追加

対照のオブジェクトが属性の参照や属性の代入をまったくサポートしていない場合にはTypeError が送出されます。 - Python

TypeError will be raised if object is a class or constructor is not callable.See the例文帳に追加

objectがクラスであるか、またはconstructorが呼び出し可能でない場合に、TypeErrorを発生します。 functionとconstructorの求められるインターフェイスについての詳細は、 - Python

If not, when a datetime object is compared to an object of a different type, TypeError is raised unless the comparison is == or !=.例文帳に追加

そうでない場合、datetime オブジェクトと異なる型のオブジェクトが比較されると、比較演算子が == または !=でないかぎり TypeError が送出されます。 - Python

Removes the entry in dictionary p with key key.key must be hashable; if it isn't, TypeError is raised.例文帳に追加

辞書 p から key をキーとするエントリを除去します。 key はハッシュ可能でなければなりません; ハッシュ可能でない場合、 TypeError を送出します。 - Python

If iterable is another array, it must have exactly the same type code; if not, TypeError will be raised.例文帳に追加

iterable が別のアレイ型である場合、二つのアレイは全く同じ型コードをでなければなりません。 それ以外の場合にはTypeError を送出します。 - Python

In any other case, a TypeError exception is raised.Changed in version 2.3:Support for a tuple of type information was added.例文帳に追加

その他の場合では、例外 TypeError が送出されます。 バージョン 2.3 で 変更 された仕様:型情報からなるタプルへのサポートが追加されました - Python

As a specialconstraint on constructors, no value may be returned; doing so will cause a TypeError to be raised at runtime.例文帳に追加

コンストラクタには、値を返してはならないという特殊な制限があります; 値を返すようにすると、実行時にTypeError の送出を引き起こします。 - Python

key must be hashable; if it isn't,TypeError will be raised.Returns 0 on success or -1 on failure. 例文帳に追加

key はハッシュ可能でなければなりません;ハッシュ可能でない場合、 TypeError を送出します。 成功した場合には 0 を、失敗した場合には -1 を返します。 - Python

Changed in version 2.4:When no iterables are specified, returns a zero lengthiterator instead of raising a TypeError exception. 例文帳に追加

バージョン 2.4 で 変更 された仕様:イテレート可能オブジェクトを指定しない場合、TypeError 例外を送出する代わりに長さゼロのイテレータを返します。 - Python

If the object is not an iterator, TypeError is raised, or if there is an error in retrieving the item, returns NULL and passes along the exception.例文帳に追加

オブジェクトがイテレータでない場合には TypeErrorを送出します。 要素を取り出す際にエラーが生じると NULL を返し、発生した例外を送出します。 - Python

A TypeError is raised ifs were incorrectly padded or if there are non-alphabetcharacters present in the string. 例文帳に追加

デコードされた文字列が返されます。 s が正しくパディングされていなかったり、規定のアルファベット以外の文字が含まれていた場合には TypeError が発生します。 - Python

Slice indices are silently truncated to fall in the allowed range; if an index is not a plain integer, TypeError is raised.例文帳に追加

スライスのインデクスはシーケンスの範囲に収まるように暗黙のうちに調整されます; インデクスが通常の整数でない場合、TypeErrorが送出されます。 - Python

If only one of these two methods is defined, the object will not support division in the alternate context; TypeError will be raised instead.例文帳に追加

二つのメソッドのうち一方しか定義されていなければ、オブジェクトは他方の演算コンテキストをサポートしなくなります; このとき、TypeError が送出されます。 - Python

TypeError should be raised if the object only supports read-only buffers, and SystemError should be raised when segment specifies a segment that doesn't exist.例文帳に追加

オブジェクトが呼び出し専用バッファしかサポートしていない場合にはTypeError を、segment が存在しないセグメントを指している場合には SystemError を送出しなければなりません。 - Python

datetime1 is considered less than datetime2when datetime1 precedes datetime2 in time.If one comparand is naive and the other is aware, TypeError is raised.例文帳に追加

datetime1 が時刻として datetime2 よりも前を表す場合に、datetime1 はdatetime2 よりも小さいと見なされます。 被演算子の片方が naive でもう一方が aware の場合、TypeError が送出されます。 - Python

Note:Nested tuples cannot be parsed when using keyword arguments! Keyword parameters passed in which are not present in the kwlist will cause TypeError to be raised.例文帳に追加

注意:キーワード引数を使っている場合、タプルは入れ子にして使えません!kwlist 内に存在しないキーワードパラメタが渡された場合、TypeError の送出を引き起こします。 - Python

RaisesTypeError and returns NULL if the object cannot be iterated.例文帳に追加

オブジェクトが反復処理不可能であった場合にはTypeError を送出して NULL を返します。 - Python

If radix is specified and x is not a string,TypeError is raised.Otherwise, the argument may be a plain or long integer or a floating point number.例文帳に追加

radix が指定されており、x が文字列でない場合、TypeError が送出されます。 それ以外の場合、引数は通常整数、長整数、または浮動小数点数をとることができます。 - Python

If it does not support either of those protocols, TypeError is raised.If the second argument, sentinel, is given, then o must be a callable object.例文帳に追加

これらのプロトコルが両方ともサポートされていない場合、 TypeError が送出されます。 2 つ目の引数 sentinel が与えられていれば、oは呼び出し可能なオブジェクトでなければなりません。 - Python

The Python string must not contain embedded NUL bytes; if it does, a TypeError exception is raised.Unicode objects are converted to C strings using the default encoding.例文帳に追加

Python の文字列型は、NUL バイトが途中に埋め込まれていてはなりません; もし埋め込まれていればTypeError 例外を送出します。 Unicode オブジェクトはデフォルトエンコーディングを使ってC 文字列に変換されます。 - 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

Note:In order to stop comparison from falling back to the defaultscheme of comparing object addresses, datetime comparisonnormally raises TypeError if the other comparandisn't also a datetime object. 例文帳に追加

注意:型混合の比較がデフォルトのオブジェクトアドレス比較となってしまうのを抑止するために、被演算子のもう一方が datatime オブジェクトと異なる型のオブジェクトの場合には TypeError が送出されます。 - Python

In this case,self must be an instance of the unbound method's class (or a subclass of that class), otherwise a TypeError is raised.Like function objects, methods objects support gettingarbitrary attributes.例文帳に追加

この場合、self は非バインドメソッドのクラス(サブクラス) のインスタンスでなければならず、そうでなければTypeError が送出されます。 関数オブジェクトと同じく、メソッドオブジェクトは任意の属性を取得できます。 - Python

Code which previously causedTypeError to be raised here may now proceed without an exception.例文帳に追加

このため、以前は TypeError を引き起こしていたようなコードが現在は例外を出さずに処理されるかもしれません。 - Python

例文

If one is aware and the other is naive, TypeError is raised.If both are naive, or both are aware and have the same tzinfo member, the tzinfo members are ignored, and the result is a timedelta object t such that例文帳に追加

両方とも naive か、両方とも aware で同じ tzinfo メンバを持つ場合、tzinfo メンバは無視され、結果は - 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会員(無料)になると

会員登録のメリット検索履歴を保存できる!

会員登録のメリット語彙力診断の実施回数増加!

無料会員に登録する

©2026 GRAS Group, Inc.RSS