diff --git a/CHANGELOG.md b/CHANGELOG.md index 7120f23..cb43b0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ All notable changes to this project will be documented in this file. +* Docs + * Fixed docstring of `T_SYNTAX_PARSER_TERM` (via [#70]) + +[#70]: https://github.com/jkowalleck/rfc3987-syntax2/pull/70 + ## v1.3.1 - 2026-07-23 * Docs diff --git a/src/rfc3987_syntax2/syntax_helpers.py b/src/rfc3987_syntax2/syntax_helpers.py index 6f64b60..57790e2 100644 --- a/src/rfc3987_syntax2/syntax_helpers.py +++ b/src/rfc3987_syntax2/syntax_helpers.py @@ -119,10 +119,11 @@ """ T_SYNTAX_PARSER_TERM = Literal["iri", "iri_reference", "absolute_iri"] -"""Top-level RFC 3987 parser start terms accepted by :func:`parse` and :func:`check`. +"""Top-level RFC 3987 parser start terms accepted by :func:`parse` and :func:`is_valid_syntax`. Allowed values are ``"iri"``, ``"iri_reference"``, and ``"absolute_iri"``. """ + _SYNTAX_PARSER_STARTS: list[T_SYNTAX_PARSER_TERM] = ["iri", "iri_reference", "absolute_iri"]