From 0fed553b30cbbcc9d963aeb606a52fd44e8d9c35 Mon Sep 17 00:00:00 2001 From: Dhruv Manilawala Date: Fri, 17 Jan 2025 15:11:42 +0530 Subject: [PATCH] Fix typo in `__all__` examples (#1909) --- docs/spec/distributing.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/spec/distributing.rst b/docs/spec/distributing.rst index 57bcc66e..13cfff81 100644 --- a/docs/spec/distributing.rst +++ b/docs/spec/distributing.rst @@ -390,11 +390,11 @@ The following idioms are supported for defining the values contained within ``__all__``. These restrictions allow type checkers to statically determine the value of ``__all__``. -- ``__all__ = ('a', b')`` -- ``__all__ = ['a', b']`` -- ``__all__ += ['a', b']`` +- ``__all__ = ('a', 'b')`` +- ``__all__ = ['a', 'b']`` +- ``__all__ += ['a', 'b']`` - ``__all__ += submodule.__all__`` -- ``__all__.extend(['a', b'])`` +- ``__all__.extend(['a', 'b'])`` - ``__all__.extend(submodule.__all__)`` - ``__all__.append('a')`` - ``__all__.remove('a')``