As dir() method in python3 returns all the available usable methods, is there any methods for returning documentation(explanation) of the method as string?
In case of pop() method of dictionary it should be returning the following:
class MutableMapping(Mapping[_KT, _VT], Generic[_KT, _VT])
@overload def pop Possible types:
• (self: MutableMapping, k: _KT) -> _VT• (self: MutableMapping, k: _KT, default: Union[_VT, _T]) -> Union[_VT, _T]
External documentation: http://docs.python.org/3.6/library/