Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Sep 6, 2016
1 parent 823f378 commit 1728fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion schema_salad/ref_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def add_schemas(self, ns, base_url):
self.cache[fetchurl].parse(data=content, format=fmt)
self.graph += self.cache[fetchurl]
break
except xml.sax.SAXParseException: # type: ignore
except xml.sax.SAXParseException:
pass
except TypeError:
pass
Expand Down
2 changes: 1 addition & 1 deletion typeshed/2.7/requests/sessions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Session(SessionRedirectMixin):
json=...) -> Response: ...
def get(self, url: AnyStr, **kwargs) -> Response: ...
def options(self, url: str, **kwargs) -> Response: ...
def head(self, url: str, **kwargs) -> Response: ...
def head(self, url: AnyStr, **kwargs) -> Response: ...
def post(self, url: str, data=..., json=..., **kwargs) -> Response: ...
def put(self, url: str, data=..., **kwargs) -> Response: ...
def patch(self, url: str, data=..., **kwargs) -> Response: ...
Expand Down

0 comments on commit 1728fd4

Please sign in to comment.