Avoid deprecated getargspec (#11463)
Avoid deprecated getargspec (#11463)

* Avoid DeprecationWarning from inspect.getargspec by general_utils.getargspec

* fixed pep8

* fix docs

* fix typos

* Fix docstring.

keras-team/keras-autodoc