[ty] Minor tweaks to "list all members" docs and tests (#18388)
Ref https://github.com/astral-sh/ruff/pull/18251#pullrequestreview-2881810681
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
<!-- snapshot-diagnostics -->
|
||||
|
||||
The `ty_extensions.all_members` function allows access to a list of accessible members/attributes on
|
||||
a given object. For example, all member functions of `str` are available on `"a"`:
|
||||
The `ty_extensions.all_members` function allows access to a tuple of accessible members/attributes
|
||||
on a given object. For example, all member functions of `str` are available on `"a"`:
|
||||
|
||||
```py
|
||||
from ty_extensions import all_members, static_assert
|
||||
|
||||
Reference in New Issue
Block a user