Add pyi for pydoc [Python 2.7] (#1187)
Add pyi for pydoc [Python 2.7] (#1187)

* Add pyi for pydoc [Python 2.7]

* Fixed issues

* A few more fixes

- `synopsis -> Optional[AnyStr]`
- `visiblename` takes a `Container`
- `getdoc -> Union...` not `AnyStr`

* `synopsis` and `source_synopsis`

euresti/typeshed,li-dan/typeshed,azag0/typeshed