pydocstring 0.4.0

A zero-dependency Rust parser for Python docstrings (Google and NumPy styles) with a unified syntax tree and byte-precise source locations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! NumPy-style docstring support.
//!
//! Internal: the parser and the model conversion for NumPy-style docstrings.
//! Reached from outside through [`parse_numpy`](crate::parse::parse_numpy)
//! and [`Parsed::to_model`](crate::syntax::Parsed::to_model) — the tree the
//! parser builds carries no per-style structure.

pub(crate) mod kind;
pub(crate) mod nodes;
pub(crate) mod parser;
pub(crate) mod to_model;

pub use parser::parse_numpy;