Staging: this is not the live site, pydocs.org.
vars([object]) -> dictionary
Without arguments, equivalent to locals().
With an argument, equivalent to object.__dict__.
Changed in 3.13
- 3.13: The result of calling this function without an argument has been updated as described for the locals() builtin.