mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-04-24 08:02:39 +08:00
In Python 3 (but not Python 2), `object().__dir__()` works and returns a list of strings. This is relevant when implementing a custom `__dir__` that invokes `super().__dir__()`.