Python 3.6.5 ドキュメント 検索
Results of 11 - 20 of about 37 for doctest (0.049 sec.)
- 8.8. weakref --- 弱参照 — Python 3.6.5 ドキュメント 7798
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
finalize ( kenny , print , "You killed Kenny!" ) #doctest:+ELLIPSIS <finalize object at ...; for 'Object' at...
bj , callback , 1 , 2 , z = 3 ) >>> f . detach () #doctest:+ELLIPSIS (<__main__.Object object ...>, <function...
finalize ( obj , print , "obj dead or exiting" ) #doctest:+ELLIPSIS <finalize object at ...; for 'Object' at...
...> >>> exit () #doctest:+SKIP obj dead or exiting 8.8.4. ファイナライザと...
- https://man.plustar.jp/python/library/weakref.html - [similar]
- What's New In Python 3.4 — Python 3.6.5 ドキュメント 7798
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
らしいです。 stackdepth_walk での使用箇所 参照。---) doctest ¶ 新規 オプションフラグ の FAIL_FAST により、テスト...
y R. David Murray and Daniel Urban in bpo-16522 .) doctest コマンドラインインターフェイスは argparse を使うよ...
f が追加されています。 -o によりコマンドラインから doctest オプション を指定することが出来ます。 -f は -o FAI...
)。 (Contributed by R. David Murray in bpo-11390 .) doctest はいまや、拡張モジュールの __doc__ 文字列から doct...
- https://man.plustar.jp/python/whatsnew/3.4.html - [similar]
- 21.28. ipaddress --- IPv4/IPv6 操作ライブラリ — Python 3.6.5 ドキュメント 7703
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
list ( ip_network ( '192.0.2.0/29' ) . hosts ()) #doctest: +NORMALIZE_WHITESPACE [IPv4Address('192.0.2.1'),...
2.1/32' ) >>> list ( n1 . address_exclude ( n2 )) #doctest: +NORMALIZE_WHITESPACE [IPv4Network('192.0.2.8/29'...
192.0.2.0/24' ) . subnets ( prefixlen_diff = 2 )) #doctest: +NORMALIZE_WHITESPACE [IPv4Network('192.0.2.0/26'...
( '192.0.2.0/24' ) . subnets ( new_prefix = 26 )) #doctest: +NORMALIZE_WHITESPACE [IPv4Network('192.0.2.0/26'...
- https://man.plustar.jp/python/library/ipaddress.html - [similar]
- ソート HOW TO — Python 3.6.5 ドキュメント 7545
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python HOWTO » ソー
...
([ 5 , 2 , 4 , 1 , 3 ], cmp = numeric_compare ) # doctest: +SKIP [1, 2, 3, 4, 5] また、比較順を逆にすることも...
([ 5 , 2 , 4 , 1 , 3 ], cmp = reverse_numeric ) # doctest: +SKIP [5, 4, 3, 2, 1] Python 2.x から 3.x にコード...
- https://man.plustar.jp/python/howto/sorting.html - [similar]
- 26.4. unittest --- ユニットテストフレームワーク — Python 3.6.5 ドキュメント 7545
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
の実行結果を示す特別な値を返しても構いません。 参考 doctest モジュール テストをサポートするもうひとつのモジュー...
クタリングが限りなく易しくなります。 既存のテストが doctest を使って書かれている場合もあるでしょう。その場合、...
doctest は DocTestSuite クラスを提供します。このクラスは、...
既存の doctest ベースのテストから、自動的に unittest.TestSuite の...
- https://man.plustar.jp/python/library/unittest.html - [similar]
- プログラミング FAQ — Python 3.6.5 ドキュメント 7498
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python よくある質問
...
。この現象を次の例で示しましょう: >>> id ( 1000 ) # doctest: +SKIP 13901272 >>> id ( 2000 ) # doctest: +SKIP 1...
ってください: >>> a = 1000 ; b = 2000 >>> id ( a ) # doctest: +SKIP 13901272 >>> id ( b ) # doctest: +SKIP 1389...
- https://man.plustar.jp/python/faq/programming.html - [similar]
- What's New In Python 3.1 — Python 3.6.5 ドキュメント 7498
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » What's New in Pytho
...
更を列挙します: 新しい浮動小数点の文字列表現は既存の doctest に違反する惧れがあります。例えば、 def e (): '''Co...
factorial ( x ) for x in reversed ( range ( 30 ))) doctest . testmod () *************************************...
- https://man.plustar.jp/python/whatsnew/3.1.html - [similar]
- 26.2. pydoc --- ドキュメント生成とオンラインヘルプシステム — Python 3.6.5 ドキ... 7450
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
typing --- 型ヒントのサポート 次のトピックへ 26.3. doctest --- 対話的な実行例をテストする ナビゲーション 索引...
- https://man.plustar.jp/python/library/pydoc.html - [similar]
- 8.3. collections --- コンテナデータ型 — Python 3.6.5 ドキュメント 7387
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
>> Counter ( 'abracadabra' ) . most_common ( 3 ) # doctest: +SKIP [('a', 5), ('r', 2), ('b', 2)] subtract ( [...
': 2}) >>> c & d # intersection: min(c[x], d[x]) # doctest: +SKIP Counter({'a': 1, 'b': 1}) >>> c | d # union...
- https://man.plustar.jp/python/library/collections.html - [similar]
- 8.1. datetime --- 基本的な日付型および時間型 — Python 3.6.5 ドキュメント 7387
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.6.5 ドキュメント » Python 標準ライブラ
...
ne >>> dt3 = dt2 . astimezone ( GMT2 ()) >>> dt3 # doctest: +ELLIPSIS datetime.datetime(2006, 6, 14, 14, 0, t...
zinfo=<GMT2 object at 0x...>) >>> dt2 # doctest: +ELLIPSIS datetime.datetime(2006, 6, 14, 13, 0, t...
= time ( 12 , 10 , 30 , tzinfo = GMT1 ()) >>> t # doctest: +ELLIPSIS datetime.time(12, 10, 30, tzinfo=<GMT1...
- https://man.plustar.jp/python/library/datetime.html - [similar]