| 例文 |
isinstanceを含む例文一覧と使い方
該当件数 : 4件
If the second argument is an object, isinstance(obj, type) must be true.例文帳に追加
二つめの引数がオブジェクトの場合、isinstance(obj, type) は真でなくてはなりません。 - Python
For example:isinstance(s, types.StringTypes).New in version 2.2. 例文帳に追加
例:isinstance(s, types.StringTypes).バージョン 2.2 で 新たに追加 された仕様です。 - Python
If it is a byte string (i.e. isinstance(s, str) is true), then charset is the encoding of that byte string, and a UnicodeError will be raised if the string cannot be decoded with that character set.If s is a Unicode string, then charset is a hintspecifying the character set of the characters in the string.例文帳に追加
こればバイト文字列 (isinstance(s, str) が真) の場合、charset はその文字列のエンコーディングであり、これが与えられた文字セットでうまくデコードできないときはUnicodeError が発生します。 いっぽう s が Unicode 文字列の場合、charset はその文字列の文字セットを決定するためのヒントとして使われます。 - Python
BothSet and ImmutableSet derive from BaseSet, an abstract class useful for determining whether something is a set:isinstance(obj, BaseSet).The set classes are implemented using dictionaries.例文帳に追加
SetとImmutableSetは、何が集合(isinstance(obj, BaseSet))であるか決めるのに役立つ抽象クラスBaseSetから派生します。 集合クラスは辞書を使用して実装されます。 - 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会員(無料)になると
|