From 43c73ba5597ddd7e6c0f2c13ca7fe0d8b5704257 Mon Sep 17 00:00:00 2001 From: Michael Newman Date: Sat, 18 Jul 2026 13:26:57 -0400 Subject: [PATCH] Fix typo "nubmer" in Descriptor Guide documentation --- Doc/howto/descriptor.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/howto/descriptor.rst b/Doc/howto/descriptor.rst index 7233898860ada14..5e585541643daa5 100644 --- a/Doc/howto/descriptor.rst +++ b/Doc/howto/descriptor.rst @@ -1553,10 +1553,10 @@ assignments. Only attribute names specified in ``__slots__`` are allowed: .. doctest:: >>> auto = Vehicle() - >>> auto.id_nubmer = 'VYE483814LQEX' + >>> auto.id_number = 'VYE483814LQEX' Traceback (most recent call last): ... - AttributeError: 'Vehicle' object has no attribute 'id_nubmer' + AttributeError: 'Vehicle' object has no attribute 'id_number' 2. Helps create immutable objects where descriptors manage access to private attributes stored in ``__slots__``: