Python 3.6.5 ドキュメント 検索
Results of 61 - 70 of about 213 for return (0.024 sec.)
- 2. 組み込み関数 — Python 3.6.5 ドキュメント 5377
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
able ): for element in iterable : if not element : return False return True any ( iterable ) ¶ iterable のい...
iterable ): for element in iterable : if element : return True return False ascii ( object ) ¶ repr() と同様...
'] >>> class Shape : ... def __dir__ ( self ): ... return [ 'area' , 'perimeter' , 'location' ] >>> s = Shap...
ァレンスマニュアルの節 "file-input" を参照)。なお、 return および yield 文は、 exec() 関数に渡されたコードの文...
- https://man.plustar.jp/python/library/functions.html - [similar]
- 24.1. turtle --- タートルグラフィックス — Python 3.6.5 ドキュメント 5377
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
。 24.1.3.4.3. 塗りつぶし ¶ turtle. filling ( ) ¶ Return fillstate ( True if filling, False else). >>> turt...
) ¶ パラメータ: shear -- number (optional) Set or return the current shearfactor. Shear the turtleshape acc...
ng (direction of movement). If shear is not given: return the current shearfactor, i. e. the tangent of the...
¶ パラメータ: angle -- a number (optional) Set or return the current tilt-angle. If angle is given, rotate...
- https://man.plustar.jp/python/library/turtle.html - [similar]
- 8. 複合文 (compound statement) — Python 3.6.5 ドキュメント 5377
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ
...
例外のコンテキストとして設定されます。 finally 節で return 文あるいは break 文を実行した場合は、保存された例外...
>> def f (): ... try : ... 1 / 0 ... finally : ... return 42 ... >>> f () 42 finally 節を実行している間は、プ...
用できません。 try ... finally 文の try スイート内で return 、 break 、または continue 文が実行された場合、 fi...
れるかもしれません)。 関数の返り値は最後に実行された return 文によって決まります。 finally 節は必ず実行されるた...
- https://man.plustar.jp/python/reference/compound_stmts.html - [similar]
- ジェネレータオブジェクト — Python 3.6.5 ドキュメント 5335
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
ん。 PyObject * PyGen_New ( PyFrameObject *frame ) ¶ Return value: New reference. frame オブジェクトに基づいて...
t *frame , PyObject *name , PyObject *qualname ) ¶ Return value: New reference. frame オブジェクトから新たな...
ドキュメント , 関数 , 生成 , qualname , reference , Return 前のトピックへ カプセル 次のトピックへ コルーチンオ...
- https://man.plustar.jp/python/c-api/gen.html - [similar]
- オペレーティングシステム関連のユーティリティ — Python 3.6.5 ドキュメント 5335
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
リティ ¶ PyObject * PyOS_FSPath ( PyObject *path ) ¶ Return value: New reference. Return the file system repre...
ts the os.PathLike interface, then __fspath__() is returned as long as it is a str or bytes object. Otherwis...
e TypeError is raised and NULL is returned. バージョン 3.6 で追加. int Py_FdIsInteractive (...
the LC_CTYPE locale is "C" , nl_langinfo(CODESET) returns the ASCII encoding (or an alias), and mbstowcs()...
- https://man.plustar.jp/python/c-api/sys.html - [similar]
- 7. 単純文 (simple statement) — Python 3.6.5 ドキュメント 5335
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ
...
annotated_assignment_stmt | pass_stmt | del_stmt | return_stmt | yield_stmt | raise_stmt | break_stmt | cont...
からその名前を削除することは不正な処理でした。 7.6. return 文 ¶ return_stmt ::= "return" [ expression_list ]...
されます。それ以外の場合は None で置き換えられます。 return を使うと、式リスト (または None ) を戻り値として、...
現在の関数呼び出しから抜け出します。 return によって、 finally 節をともなう try 文の外に処理が...
- https://man.plustar.jp/python/reference/simple_stmts.html - [similar]
- タプルオブジェクト (tuple object) — Python 3.6.5 ドキュメント 5303
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
します。 PyObject * PyTuple_New ( Py_ssize_t len ) ¶ Return value: New reference. サイズが len の新たなタプルオ...
。 PyObject * PyTuple_Pack ( Py_ssize_t n , ... ) ¶ Return value: New reference. サイズが n の新たなタプルオブ...
PyTuple_GetItem ( PyObject *p , Py_ssize_t pos ) ¶ Return value: Borrowed reference. p の指すタプルオブジェク...
yTuple_GET_ITEM ( PyObject *p , Py_ssize_t pos ) ¶ Return value: Borrowed reference. PyTuple_GetItem() に似て...
- https://man.plustar.jp/python/c-api/tuple.html - [similar]
- 8.3. collections --- コンテナデータ型 — Python 3.6.5 ドキュメント 5303
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
maps : if key in mapping : mapping [ key ] = value return self . maps [ 0 ][ key ] = value def __delitem__ (...
f . maps : if key in mapping : del mapping [ key ] return raise KeyError ( key ) >>> d = DeepChainMap ({ 'ze...
deque(['f', 'g', 'h', 'i', 'j']) >>> d . pop () # return and remove the rightmost item 'j' >>> d . popleft...
() # return and remove the leftmost item 'f' >>> list ( d ) #...
- https://man.plustar.jp/python/library/collections.html - [similar]
- What's New in Python 2.3 — Python 3.6.5 ドキュメント 5303
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
を作るプライベートな名前空間ができますね。その関数が return 文まで来ると、ローカル変数が破壊されてから、返り値...
ます。上の例で yield を実行したとき、ジェネレータは return 文のようにして i の値を生成します。 yield と retur...
3) といった書き方もできます。 ジェネレータ関数内で return 文は、引数を付けずに、処理の終わりを知らせるために...
だけ使うことができます; return を実行したあとは、もうそのジェネレータが値を返すこ...
- https://man.plustar.jp/python/whatsnew/2.3.html - [similar]
- 3. データモデル — Python 3.6.5 ドキュメント 5261
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ
...
のキーはパラメータ名で、返り値の注釈がある場合は、 'return' がそのキーとなります。 書き込み可能 __kwdefaults_...
文を使って値が提供されるまで関数を実行します。関数の return 文を実行するか終端に達したときは、 StopIteration 例...
onous iterator's aiterator.__anext__() method will return an awaitable which when awaited will execute until...
ld expression. When the function executes an empty return statement or falls off the end, a StopAsyncIterati...
- https://man.plustar.jp/python/reference/datamodel.html - [similar]