Skip to content
Sections
>> Trisquel >> Packages >> ecne (12.0LTS) >> python >> python3-xdoctest
[  ecne  ] [  xolotl  ]
[ Source: xdoctest  ]

Пакунок: python3-xdoctest (1.1.3-1)

Rewrite of Python's builtin doctest module with AST instead of REGEX

What is a doctest? It is example code you write in a docstring! What is a docstring? Its a string you use as a comment! They get attached to Python functions and classes as metadata. They are often used to auto-generate documentation. Why is it cool? Because you can write tests while you code!

The ``xdoctest`` package is a re-write of Python's builtin ``doctest`` module. It replaces the old regex-based parser with a new abstract-syntax-tree based parser (using Python's ``ast`` module). The goal is to make doctests easier to write, simpler to configure, and encourage the pattern of test driven development.

This package contains the library for Python 3.

Інші пакунки пов'язані з python3-xdoctest

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

Завантажити python3-xdoctest

Завантаження для всіх доступних архітектур
Архітектура Розмір пакунка Розмір після встановлення Файли
all 110.5 kB535 kB [список файлів]