Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> python >> python3-zc.customdoctests
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: python-zc.customdoctests  ]

パッケージ: python3-zc.customdoctests (1.0.1-1)

Use doctest with other languages (Python 3)

doctest (and recently manuel) provide hooks for using custom doctest parsers. zc.customdoctests helps to leverage this to support other languages, such as JavaScript (with python-spidermonkey):

    js> function double (x) {
    ...     return x*2;
    ... }
    js> double(2)
    4

And with python-manuel, it facilitates doctests that mix multiple languages, such as Python, JavaScript, and sh.

その他の python3-zc.customdoctests 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-pkg-resources
    Package Discovery and Resource Access using pkg_resources
  • rec: python3-manuel
    Python3 library for testable documents and documented tests
  • rec: python3-spidermonkey
    パッケージは利用できません

python3-zc.customdoctests のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 8.0 kB45 kB [ファイル一覧]