| 例文 | 共起表現 |
globalsを含む例文一覧と使い方
該当件数 : 21件
The arguments are a string and optional globals and locals. 例文帳に追加
文字列とオプションの引数 globals、locals をとります。 - Python
default false - if set to true, you can access php's globals and superglobals, eg. 例文帳に追加
初期値は false です。 - PEAR
If the locals dictionary is omitted it defaults to the globals dictionary.例文帳に追加
locals 辞書が省略された場合、標準の値として globals に設定されます。 - Python
The optional globals and locals arguments specify the environment in which the code is executed; by default the dictionary of the module例文帳に追加
オプションのglobalsとlocals引数はコードを実行する環境を指定します。 デフォルトでは、モジュール - Python
Execute Python source code from str in the context specified by the dictionaries globals and locals with the compiler flags specified by flags.例文帳に追加
辞書globalsとlocalsで指定されるコンテキストにおいて、strに含まれるPythonソースコードをコンパイラフラグ flags のもとで実行します。 - Python
Profile an exec-compatible string in the script environment.The globals from the 例文帳に追加
スクリプト環境で exec 互換文字列のプロファイルをおこないます。 - Python
Returns a (Python) function with the given code and globals. 例文帳に追加
与えられたコードとグローバル変数をもつ(Python)関数を返します。 - Python
The file is parsed and evaluated as a sequence of Python statements (similarly to a module) using the globals and locals dictionaries as global and local namespace.例文帳に追加
file は読み込まれ、(モジュールのように) Python 文の列として評価されます。 このとき globals および locals がそれぞれグローバルおよびローカルな名前空間として使われます。 - Python
A new shallow copy of the globals dictionary is created for each DocTest.例文帳に追加
各々の DocTest に対して、グローバル変数を表す辞書の新たな浅いコピーを生成します。 - Python
The expression argument is parsed and evaluated as a Python expression (technically speaking, a condition list) using the globals and locals dictionaries as global and local namespace.例文帳に追加
引数 expressionは Python の表現式 (技術的にいうと、条件のリストです) として構文解釈され、評価されます。 このとき辞書 globals および locals はそれぞれグローバルおよびローカルな名前空間として使われます。 - Python
It means that the listed identifiers are to be interpreted as globals.例文帳に追加
global 文は、列挙した識別子をグローバル変数として解釈するよう指定することを意味します。 - Python
The namespace (aka globals) that the examples should be run in.This is a dictionary mapping names to values. 例文帳に追加
例題を実行する名前空間 (いわゆるグローバル変数) です。 このメンバは、名前から値への対応付けを行っている辞書です。 - Python
The setUp function can access the test globals as the globs attribute of the test passed.Optional argument tearDown specifies a tear-down function for the test suite.例文帳に追加
setUp はglobs 属性を介してテストのグローバル変数にアクセスできます。 オプション引数 tearDown には、テストを解体 (tear-down) するための関数を指定します。 - Python
The setUp function can access the test globals as the globs attribute of the test passed.Optional argument globs is a dictionary containing the initial global variables for the tests.例文帳に追加
tearDown ははglobs 属性を介してテストのグローバル変数にアクセスできます。 オプション引数 globs は辞書で、テストのグローバル変数の初期値が入ります。 - Python
It would be impossible to assign to a global variable without global, although free variables may refer to globals without being declared global.例文帳に追加
global を使わずにグローバル変数に代入を行うことは不可能ですが、自由変数を使えばその変数をグローバルであると宣言せずにグローバル変数を参照することができます。 - Python
This lets callbacks use the same mechanism as the rest of optparse for storing option values;you don't need to mess around with globals or closures.例文帳に追加
この値を使うと、コールバック関数がオプションの値を記憶するために、他のoptparse と同じ機構を使えるようにするため、グローバル変数や閉包(closure) を台無しにしないので便利です。 - Python
Pointer to a NUL-terminated string containing the name of the type.For types that are accessible as module globals, the string should be the full module name, followed by a dot, followed by the typename; for built-in types, it should be just the type name.例文帳に追加
モジュールのグローバル変数としてアクセスできる型の場合、この文字列は完全なモジュール名、ドット、そして型の名前と続く文字列になります; 組み込み型の場合、ただの型の名前です。 - Python
(In fact, the standard implementation does not use its locals argument at all, and uses itsglobals only to determine the package context of the import statement.)When the name variable is of the form package.module,normally, the top-level package (the name up till the first dot) is returned, not the module named by name.例文帳に追加
(実際、標準の実装では locals引数を全く使わず、import 文のパッケージ文脈を決定するためだけに globals を使います。 )変数 name が package.module の形式であった場合、通常、name という名のモジュール ではなく トップレベルのパッケージ (最初のドットまでの名前) が返されます。 - Python
Code objects represent byte-compiled executable Python code, or bytecode.The difference between a code object and a function object is that the function object contains an explicit reference to the function's globals (the module in which it was defined), while a code object contains no context; also the default argument values are stored in the function object,not in the code object (because they represent values calculated atrun-time).例文帳に追加
コードオブジェクトは バイトコンパイルされた (byte-compiled)実行可能な Python コード、別名 バイトコード (bytecode) を表現します。 コードオブジェクトと関数オブジェクトの違いは、関数オブジェクトが関数のグローバル変数 (関数を定義しているモジュールのグローバル) に対して明示的な参照を持っているのに対し、コードオブジェクトにはコンテキストがないということです; また、関数オブジェクトではデフォルト引数値を記憶できますが、コードオブジェクトではできません(実行時に計算される値を表現するため)。 - 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. |
| Copyright © 2001 - 2008 by the PEAR Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/ ). |
|
ログイン |
Weblio会員(無料)になると
|
|
ログイン |
Weblio会員(無料)になると
|