Skip to content

Commit 0fed553

Browse files
authored
Fix typo in __all__ examples (#1909)
1 parent e523717 commit 0fed553

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/spec/distributing.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,11 +390,11 @@ The following idioms are supported for defining the values contained
390390
within ``__all__``. These restrictions allow type checkers to statically
391391
determine the value of ``__all__``.
392392

393-
- ``__all__ = ('a', b')``
394-
- ``__all__ = ['a', b']``
395-
- ``__all__ += ['a', b']``
393+
- ``__all__ = ('a', 'b')``
394+
- ``__all__ = ['a', 'b']``
395+
- ``__all__ += ['a', 'b']``
396396
- ``__all__ += submodule.__all__``
397-
- ``__all__.extend(['a', b'])``
397+
- ``__all__.extend(['a', 'b'])``
398398
- ``__all__.extend(submodule.__all__)``
399399
- ``__all__.append('a')``
400400
- ``__all__.remove('a')``

0 commit comments

Comments
 (0)