]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45516: fix Traversable.name documentation (GH-29194)
authorFilipe Laíns <lains@riseup.net>
Sun, 31 Oct 2021 14:57:21 +0000 (14:57 +0000)
committerGitHub <noreply@github.com>
Sun, 31 Oct 2021 14:57:21 +0000 (07:57 -0700)
Here we go again... Sorrry!

Signed-off-by: Filipe Laíns <lains@riseup.net>
Automerge-Triggered-By: GH:jaraco
Doc/library/importlib.rst

index 7a656fcb091daa6405028f242d4e728f0942b629..5b4fba381ce5b6144fde706e7527ce7a82045863 100644 (file)
@@ -815,9 +815,9 @@ ABC hierarchy::
 
     .. versionadded:: 3.9
 
-    .. abstractmethod:: name()
+    .. attribute:: name
 
-       The base name of this object without any parent references.
+       Abstract. The base name of this object without any parent references.
 
     .. abstractmethod:: iterdir()