From 5f5f0be82cdb20fb88a8124db39f9793b3a0bf00 Mon Sep 17 00:00:00 2001 From: Mark Byrne Date: Fri, 14 Jun 2024 11:21:25 +0200 Subject: [PATCH] Documentation - Update `class-const` definition to: `Enum constants and class variables annotated with Final` --- doc/data/messages/i/invalid-name/details.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/data/messages/i/invalid-name/details.rst b/doc/data/messages/i/invalid-name/details.rst index 14cfe6e592..7cbf756380 100644 --- a/doc/data/messages/i/invalid-name/details.rst +++ b/doc/data/messages/i/invalid-name/details.rst @@ -23,7 +23,7 @@ name is found in, and not the type of object assigned. +--------------------+---------------------------------------------------------------------------------------------------+ | ``class-attribute``| Attributes defined in class bodies. | +--------------------+---------------------------------------------------------------------------------------------------+ -| ``class-const`` | Enum constants and class variables annotated with ``ClassVar`` | +| ``class-const`` | Enum constants and class variables annotated with ``Final`` | +--------------------+---------------------------------------------------------------------------------------------------+ | ``inlinevar`` | Loop variables in list comprehensions and generator expressions. | +--------------------+---------------------------------------------------------------------------------------------------+