Make get_type_hints not throw an error on builtin methods (#368)

* Added support to get_type_hints for builtin methods like object.__init__ or object.__str__ etc.

* Fixed tabs vs spaces -.-

* Changed the type check for builtin functions/methods to use the new types in the types module.
2 files changed