aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/pathoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/pathoc.py')
-rw-r--r--pathod/pathoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/pathoc.py b/pathod/pathoc.py
index e2627a61..59ae5fba 100644
--- a/pathod/pathoc.py
+++ b/pathod/pathoc.py
@@ -461,7 +461,7 @@ class Pathoc(tcp.TCPClient):
May raise a exceptions.NetlibException
"""
- if isinstance(r, six.string_types):
+ if isinstance(r, str):
r = next(language.parse_pathoc(r, self.use_http2))
if isinstance(r, language.http.Request):