Skip to content
  • hydrargyrum's avatar
    python3: implement __dir__ for BaseObject and PagesBrowser · 314661b5
    hydrargyrum authored
    Since those classes store some class-level declared fields (Field and
    URL) in a dictionary and are not present as attributes, those fields are
    not present in dir() even though __getattr__ will find them.
    By reimplementing __dir__, they can be discovered as ordinary
    attributes.
    314661b5