Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> python >> python3-zc.customdoctests
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: python-zc.customdoctests  ]

套件: python3-zc.customdoctests (1.0.1-2)

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 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.4 kB46 kB [文件列表]