「typeerror」を含む例文一覧(55)

<前へ 1 2
  • If classinfo is not a class, type, or tuple of classes, types, and such tuples, a TypeError exception is raised.Changed in version 2.2:Support for a tuple of type information was added.
    classinfo がクラス、型、クラスや型からなるタプル、そういったタプルが再帰構造をとっているタプルのいじれでもない場合、例外 TypeError が送出されます。 バージョン 2.2 で 変更 された仕様:型情報をタプルにした形式のサポートが追加されました。 - Python
  • This hook gives other kinds of date objects a chance at implementing mixed-type comparison.If not, when a date object is compared to an object of a different type, TypeError is raised unless the comparison is == or !=.
    このフックにより、他種の日付オブジェクトに型混合比較を実装するチャンスを与えています。 そうでない場合、timedelta オブジェクトと異なる型のオブジェクトが比較されると、比較演算子が == または !=でないかぎり TypeError が送出されます。 - Python
  • If length is NULL, the resulting buffer may not contain NUL characters; if it does, the function returns -1and a TypeError is raised. The buffer refers to an internal string buffer of obj, not a copy.
    length が NULL の場合、値を返させるバッファには NUL 文字を入れてはなりません;NUL 文字が入っている場合、関数は -1 を返し、TypeError を送出します。 buffer は obj の内部文字列バッファを参照し、バッファのコピーを参照するわけではありません。 - Python
  • If ob is not a weakly-referencable object, or if callback is not callable, None, or NULL, this will return NULL and raise TypeError.New in version 2.2.
    ob が弱参照できないオブジェクトの場合や、callback が呼び出し可能オブジェクト、None、NULLのいずれでもない場合は、NULL を返してTypeErrorを送出します。 - Python
  • Subtraction of a datetime from a datetime is defined only if both operands are naive, or if both are aware.
    datetime から datetime の減算は両方の被演算子がnaive であるか、両方とも aware である場合にのみ定義されています片方が aware でもう一方が naive の場合、 TypeError が送出されます。 - Python
<前へ 1 2

例文データの著作権について