Skip to content

Commit 1728fd4

Browse files
committed
fix types
1 parent 823f378 commit 1728fd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schema_salad/ref_resolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def add_schemas(self, ns, base_url):
189189
self.cache[fetchurl].parse(data=content, format=fmt)
190190
self.graph += self.cache[fetchurl]
191191
break
192-
except xml.sax.SAXParseException: # type: ignore
192+
except xml.sax.SAXParseException:
193193
pass
194194
except TypeError:
195195
pass

typeshed/2.7/requests/sessions.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class Session(SessionRedirectMixin):
7878
json=...) -> Response: ...
7979
def get(self, url: AnyStr, **kwargs) -> Response: ...
8080
def options(self, url: str, **kwargs) -> Response: ...
81-
def head(self, url: str, **kwargs) -> Response: ...
81+
def head(self, url: AnyStr, **kwargs) -> Response: ...
8282
def post(self, url: str, data=..., json=..., **kwargs) -> Response: ...
8383
def put(self, url: str, data=..., **kwargs) -> Response: ...
8484
def patch(self, url: str, data=..., **kwargs) -> Response: ...

0 commit comments

Comments
 (0)