Python 3.6.5 ドキュメント 検索
Results of 91 - 100 of about 213 for Return (0.115 sec.)
- 9.4. decimal --- 十進固定及び浮動小数点数の算術演算 — Python 3.6.5 ドキュメント 5018
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ep ) build ( curr ) build ( neg if sign else pos ) return '' . join ( reversed ( result )) def pi (): """Com...
t = ( t * n ) / d s += t getcontext () . prec -= 2 return + s # unary plus applies the new precision def exp...
( x ): """Return e raised to the power of x. Result type matches in...
num *= x s += num / fact getcontext () . prec -= 2 return + s def cos ( x ): """Return the cosine of x as me...
- https://man.plustar.jp/python/library/decimal.html - [similar]
- 29.9. traceback --- スタックトレースの表示または取得 — Python 3.6.5 ドキュメン... 5018
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
en from frame_gen . If lookup_lines is False , the returned FrameSummary objects will not have read their li...
, lineno, name, line as the elements. format ( ) ¶ Returns a list of strings ready for printing. Each string...
ight_side_of_death () def bright_side_of_death (): return tuple ()[ 0 ] try : lumberjack () except IndexErro...
"<doctest...>", line 7, in bright_side_of_death\n return tuple()[0]\n', 'IndexError: tuple index out of ran...
- https://man.plustar.jp/python/library/traceback.html - [similar]
- What's New in Python 2.4 — Python 3.6.5 ドキュメント 5018
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
f deco ( func ): ... func . attr = 'decorated' ... return func ... >>> @deco ... def f (): pass ... >>> f <f...
f wrapper ( arg ): assert isinstance ( arg , int ) return func ( arg ) return wrapper @require_int def p1 (...
.deb' ]) if sts == 0 : # Success ... else : # dpkg returned an error ... コマンドはシェルを使うことなく呼び出...
なしやすくなります: >>> def transpose ( array ): ... return zip ( * array ) ... >>> transpose ([( 1 , 2 , 3 ),...
- https://man.plustar.jp/python/whatsnew/2.4.html - [similar]
- What's New In Python 3.2 — Python 3.6.5 ドキュメント 5018
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
( dict ): ... def __getitem__ ( self , key ): ... return dict . __getitem__ ( self , key . lower ()) >>> lc...
( dict ): ... def __missing__ ( self , key ): ... return '< {} >' . format ( key ) >>> 'Hello {name} , welc...
>> class A : ... @property ... def f ( self ): ... return 1 // 0 ... >>> a = A () >>> hasattr ( a , 'f' ) Tr...
ることは不正でした。 def outer ( x ): def inner (): return x inner () del x これは可能になりました。 except 節...
- https://man.plustar.jp/python/whatsnew/3.2.html - [similar]
- 29.3. builtins --- 組み込みオブジェクト — Python 3.6.5 ドキュメント 4976
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
open ( path ): f = builtins . open ( path , 'r' ) return UpperCaser ( f ) class UpperCaser : '''Wrapper aro...
f ): self . _f = f def read ( self , count =- 1 ): return self . _f . read ( count ) . upper () # ... ほとん...
- https://man.plustar.jp/python/library/builtins.html - [similar]
- 8.12. reprlib --- もう一つの repr() の実装 — Python 3.6.5 ドキュメント 4976
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
@recursive_repr () ... def __repr__ ( self ): ... return '<' + '|' . join ( map ( repr , self )) + '>' ......
. name in { '<stdin>' , '<stdout>' , '<stderr>' }: return obj . name return repr ( obj ) aRepr = MyRepr () p...
- https://man.plustar.jp/python/library/reprlib.html - [similar]
- 10. 完全な文法仕様 — Python 3.6.5 ドキュメント 4976
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 言語リファレ
...
: 'pass' flow_stmt : break_stmt | continue_stmt | return_stmt | raise_stmt | yield_stmt break_stmt : 'break...
' continue_stmt : 'continue' return_stmt : 'return' [ testlist ] yield_stmt : yield_ex...
- https://man.plustar.jp/python/reference/grammar.html - [similar]
- カプセル — Python 3.6.5 ドキュメント 4934
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
t char *name , PyCapsule_Destructor destructor ) ¶ Return value: New reference. pointer を格納する PyCapsule...
odule() を使って) 通常の方法でインポートされます。 Return the capsule's internal pointer on success. On fail...
ure, set an exception and return NULL . However, if PyCapsule_Import() failed to im...
- https://man.plustar.jp/python/c-api/capsule.html - [similar]
- 浮動小数点型オブジェクト (floating point object) — Python 3.6.5 ドキュメント 4934
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
PyObject * PyFloat_FromString ( PyObject *str ) ¶ Return value: New reference. str の文字列値をもとに PyFlo...
ます。 PyObject * PyFloat_FromDouble ( double v ) ¶ Return value: New reference. v から PyFloatObject オブジェ...
- https://man.plustar.jp/python/c-api/float.html - [similar]
- イテレータオブジェクト (iterator object) — Python 3.6.5 ドキュメント 4934
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python/C API リファ
...
ます。 PyObject * PySeqIter_New ( PyObject *seq ) ¶ Return value: New reference. 一般的なシーケンスオブジェク...
_New ( PyObject *callable , PyObject *sentinel ) ¶ Return value: New reference. 新たなイテレータを返します。...
- https://man.plustar.jp/python/c-api/iterator.html - [similar]