X Tutup
Skip to content

Commit af5e90a

Browse files
committed
Fix import of Protocol
1 parent deb6416 commit af5e90a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bpython/paste.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@
2222

2323
import errno
2424
import subprocess
25-
from typing import Optional, Tuple, Protocol
25+
from typing import Optional, Tuple
2626
from urllib.parse import urljoin, urlparse
2727

2828
import requests
2929
import unicodedata
3030

3131
from .config import getpreferredencoding
3232
from .translations import _
33+
from ._typing_compat import Protocol
3334

3435

3536
class PasteFailed(Exception):

0 commit comments

Comments
 (0)
X Tutup