From f83c16e8b02b969d2261c69043d7127c27b62f3d Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Mon, 11 Oct 2021 22:39:59 -0400 Subject: [PATCH] Avoid attr.attr.frozen and attr.attr.mutable in Sphinx object inventory https://github.com/altendky/qtrio/issues/269 --- docs/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index c25e5d54f..d712e4d31 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -715,13 +715,13 @@ Since the Python ecosystem has settled on the term ``field`` for defining attrib The new APIs build on top of them. .. autofunction:: attr.define -.. function:: attr.mutable(same_as_define) +.. function:: mutable(same_as_define) Alias for `attr.define`. .. versionadded:: 20.1.0 -.. function:: attr.frozen(same_as_define) +.. function:: frozen(same_as_define) Behaves the same as `attr.define` but sets *frozen=True* and *on_setattr=None*.