Skip to content

Commit

Permalink
Fix typo in __all__ examples (#1909)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvmanila authored Jan 17, 2025
1 parent e523717 commit 0fed553
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/spec/distributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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')``
Expand Down

0 comments on commit 0fed553

Please sign in to comment.