Bibo-Joshi · GitHub

Another part of #2698. As per #2698 (comment) doesn't add a "pprint" variant yet. IMO we can add this if we/users actually see a need for that :)

Note that once #3233 is merged, this will also include api_kwargs in the representation. IMO that's desirable. Once could however do a special case and exclude that if it's an empty dictionary. edit: I did that

Checklist for PRs

  • Added .. versionadded:: version, .. versionchanged:: version or .. deprecated:: version to the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)
  • Created new or adapted existing unit tests
  • Documented code changes according to the CSI standard
  • Added myself alphabetically to AUTHORS.rst (optional)
  • Added new classes & modules to the docs and all suitable __all__ s

Read the original on github.com ↗