Skip to content

Commit 06e5c8f

Browse files
[PR #9918/6ada2737 backport][3.11] Remove __author__ from __dir__ (#9919)
**This is a backport of PR #9918 as merged into master (6ada273).** Co-authored-by: Sam Bull <[email protected]>
1 parent 1510dae commit 06e5c8f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES/9918.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removed non-existing ``__author__`` from ``dir(aiohttp)`` -- by :user:`Dreamsorcerer`.

aiohttp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242

243243

244244
def __dir__() -> Tuple[str, ...]:
245-
return __all__ + ("__author__", "__doc__")
245+
return __all__ + ("__doc__",)
246246

247247

248248
def __getattr__(name: str) -> object:

0 commit comments

Comments
 (0)