1153万例文収録!

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


小窓モード

プレミアム

ログイン
設定

設定

Weblio 辞書 > 英和辞典・和英辞典 > AttributeErrorの意味・解説 > AttributeErrorに関連した英語例文

セーフサーチ:オフ

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

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

セーフサーチについて

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

該当件数 : 8



例文

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

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

This method should return the (computed) attribute value or raise an AttributeError exception.例文帳に追加

このメソッドは (計算された) 属性値を返すか、AttributeError 例外を送出しなければなりません。 - Python

Attempts to assign to an unlisted variable name raises AttributeError.例文帳に追加

列挙されていない変数名を使って代入しようとした場合、AttributeError が送出されます。 - Python

If this attribute is not available, the exceptionAttributeError 例文帳に追加

問い合わせた属性が得られない場合、例外AttributeError が送出されます。 - Python

例文

If the named attribute does not exist, default is returned if provided,otherwise AttributeError is raised.例文帳に追加

指定された属性が存在しない場合、default が与えられている場合にはしれが返されます。 そうでない場合には AttributeErrorが送出されます。 - Python


例文

Thatobject is then asked to assign the assigned object to the given attribute; if it cannot perform the assignment, it raises an exception(usually but not necessarily AttributeError).例文帳に追加

次に、このオブジェクトに対して、被代入オブジェクトを指定した属性に代入してよいか問い合わせます; 代入を実行できない場合、例外 (通常は AttributeError ですが、必然ではありません)を送出します。 - Python

The mapping, in particular, does not require that the IDL attributes are accessible as normal Python attributes:例文帳に追加

とりわけ、対応付けでは、IDL 属性が通常の Python 属性としてアクセス可能であることは必須ではありません: object.someValue が動作することは必須 ではなく 、AttributeErrorを送出してもかまいません。 - Python

例文

Any attempt to access one of the object's attributes will have to be approved by the filter function; if the access is denied an AttributeError exception will be raised.If present, filter must be a function that accepts a string containing an attribute name, and returns true if access to that attribute will be permitted; if filter returns false, the access is denied.例文帳に追加

オブジェクトの属性に対するアクセスの試みは全て、filter 関数によって認可されなければなりません; アクセスが拒否された場合 AttributeError 例外が送出されます。 filter が存在する場合、この関数は属性名を含む文字列を受理し、その属性に対するアクセスが許可される場合には真を返さなければなりません; filter が偽を返す場合、アクセスは拒否されます。 - 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