Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> python >> python-zc.customdoctests
etiona  ]
[ 源代码: python-zc.customdoctests  ]

软件包: python-zc.customdoctests (1.0.1-1)

Use Python doctest with other languages

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.

其他与 python-zc.customdoctests 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: python-pkg-resources
    Package Discovery and Resource Access using pkg_resources
  • rec: python-manuel
    Python library for testable documents and documented tests
  • rec: python-spidermonkey
    软件包暂时不可用

下载 python-zc.customdoctests

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 8.0 kB48 kB [文件列表]