Removes :type:, :param:, :rtype:, :return:, :raises: field-list entries (including continuations). docstring text to strip field-list entries from.

Returns:

The text with all recognized field-list entries removed.

Methods

_strip_rst_fields

_strip_rst_fields(text: The) -> str

Removes :type:, :param:, :rtype:, :return:, :raises: field-list entries (including continuations). docstring text to strip field-list entries from.

Returns:

The text with all recognized field-list entries removed.

ParameterTypeDescription
textThe

Generated with Flude

Copyright © 2026