| 例文 |
nargsを含む例文一覧と使い方
該当件数 : 7件
If nargs 1, value will be a tuple of values ofthe appropriate type. 例文帳に追加
"nargs" 1 であれば、value はは適切な型をもつ値のタプルになります。 - Python
If nargs 1, multiple arguments are consumed, and a tuple of length nargs is appended to dest.The defaults for type and dest are the same as for the store action.Example:例文帳に追加
nargs 1 の場合、複数の引数をコマンドラインから取り出し、長さ nargs のタプルを生成して destに追加します。 type および dest のデフォルト値は store アクションと同じです。 - Python
append [relevant: type, dest, nargs, choices]The option must be followed by an argument, which is appended to the list in dest.例文帳に追加
append [relevant: type, dest, nargs, choices]このオプションの後ろには必ず引数が続きます。 引数はdest のリストに追加されます。 - Python
store [relevant: type, dest, nargs, choices]The option must be followed by an argument, which is converted to a value according to type and stored in dest.例文帳に追加
store [relevant: type, dest, nargs, choices]オプションの後には必ず引数が続きます。 引数はtype に従った値に変換されてdest に保存されます。 - Python
Specifying that a callback option takes arguments is similar to defining a store or append option: if you define type, then the option takes one argument that must be convertible to that type; if you further define nargs, then the option takes nargs arguments.例文帳に追加
引数をとるようコールバックに指定するのは、store やappend オプションの定義に似ています: type を定義していれば、そのオプションは引数を受け取ったときに該当する型に変換できねばなりません;さらに nargs を指定すれば、オプションは nargs 個の引数を受け取ります。 - 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会員(無料)になると
|