mutableを含む例文一覧と使い方
該当件数 : 58件
In the presently preferred embodiments, the operator selects one or more mutable system parameters of an ultrasonic system which will be changed if either the temperature becomes too great, or at the operator's command, or both.例文帳に追加
現在望ましい実施例では、操作者は、温度が高くなりすぎたとき、又は、操作者の命令があったとき、又はその両方の場合に変更される超音波システムの1つ又はそれ以上の不定システムパラメータを選択する。 - 特許庁
This is especially important to understand when a default parameter is a mutable object,such as a list or a dictionary: if the function modifies the object(e.g. by appending an item to a list), the default value is in effectmodified.例文帳に追加
デフォルトパラメタ値がリストや辞書のような変更可能なオブジェクトである場合、この使用を理解しておくことは特に重要です: 関数でこのオブジェクトを (例えばリストに要素を追加して) 変更する と、実際のデフォルト値が変更されてしまいます。 - Python
If the object contains references to other objects,these other objects may be mutable and may be changed; however,the collection of objects directly referenced by an immutable object cannot change.例文帳に追加
オブジェクトに他のオブジェクトへの参照が入っている場合、参照されているオブジェクトは変更可能なオブジェクトでもよく、その値は変更される可能性があります;しかし、変更不能なオブジェクトが直接参照しているオブジェクトの集合自体は、変更することができません。 - Python
Warning:There is a subtlety when the sequence is being modified by the loop (this can only occur for mutable sequences, i.e. lists).An internal counter is used to keep track of which item is used next,and this is incremented on each iteration.例文帳に追加
警告:ループ中のシーケンスの変更には微妙な問題があります (これは変更可能なシーケンス、すなわちリストで起こります)。 どの要素が次に使われるかを追跡するために、内部的なカウンタが使われており、このカウンタは反復処理を行うごとに加算されます。 - Python
If the optional writeback parameter is set to True, all entries accessed are cached in memory, and written back at close time; this can make it handier to mutate mutable entries in the persistent dictionary, but, if many entries are accessed, it can consume vast amounts of memory for the cache, and it can make the close operation very slow since all accessed entries are written back (there is no way to determine which accessed entries are mutable, nor which ones were actually mutated).例文帳に追加
オプションの writebackパラメタが True に設定されていれば、アクセスされたすべてのエントリはメモリ上にキャッシュされ、ファイルを閉じる際に書き戻されます;この機能は永続的な辞書上の可変の要素に対する変更を容易にしますが、多数のエントリがアクセスされた場合、膨大な量のメモリがキャッシュのために消費され、アクセスされた全てのエントリを書き戻す (アクセスされたエントリが可変であるか、あるいは実際に変更されたかを決定する方法は存在しないのです) ために、ファイルを閉じる操作を非常に低速にしてしまいます。 - Python
Even the importance of object identity is affected in some sense: for immutable types,operations that compute new values may actually return a reference to any existing object with the same type and value, while for mutable objects this is not allowed.例文帳に追加
オブジェクトのアイデンティティが重要かどうかでさえ、ある意味では型に左右されます:変更不能な型では、新たな値を計算するような操作を行うと、実際には同じ型と値を持った既存のオブジェクトへの参照を返すことがありますが、変更可能なオブジェクトではそのような動作は起こりえません。 - Python
(Default values are calculated, once, when the function is defined; thus, a mutable object such as a list or dictionary used as default value will be shared by all calls that don't specify an argument value for the corresponding slot; this should usually beavoided.)例文帳に追加
(デフォルト値は、関数が定義されたときに一度だけ計算されます; 従って、リストや辞書のような変更可能なオブジェクトがデフォルト値として使われると、対応するスロットに引数を指定しない限り、このオブジェクトが全ての呼び出しから共有されます; このような状況は通常避けるべきです。 - Python
Bound object methods placed in the module namespace as part of the public interface of the module are documented using this, as they are equivalent to normal functions for most purposes.The description should include information about the parameters required and how they are used (especially whether mutable objects passed as parameters are modified), side effects, and possible exceptions.例文帳に追加
モジュールの公開インタフェースの一部としてモジュールの名前空間内に置かれている束縛されたオブジェクトメソッド (bound object method) は、ほとんどの用途でモジュールレベル関数と同じなので、この環境を使います。 説明には、必要なパラメタと、パラメタがどう処理されるか (とりわけ、パラメタとして渡した変更可能なオブジェクトが変更されるか否か) 、副作用、送出されうる例外についての情報を含めねばなりません。 - Python
| Copyright © Japan Patent office. All Rights Reserved. |
| この対訳コーパスは独立行政法人情報通信研究機構の研究成果であり、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会員(無料)になると
|