Added missing quotes in library documentation for __all__ statements.

This commit is contained in:
Eric Traut 2022-05-19 17:12:04 -07:00
parent 6c7ead1601
commit 42ad212d8d

View File

@ -40,11 +40,11 @@ Each module exposes a set of symbols. Some of these symbols are considered “pr
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')`