mirror of
https://github.com/microsoft/pyright.git
synced 2024-10-26 10:55:06 +03:00
Added missing quotes in library documentation for __all__
statements.
This commit is contained in:
parent
6c7ead1601
commit
42ad212d8d
@ -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')`
|
||||
|
Loading…
Reference in New Issue
Block a user