mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-04 09:02:46 +08:00
Always import Protocol from typing in stubs (#6617)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# See the README.md file in this directory for more information.
|
||||
|
||||
from typing import Any
|
||||
from typing_extensions import Protocol
|
||||
from typing import Any, Protocol
|
||||
|
||||
# As defined https://docs.python.org/3/library/xml.dom.html#domimplementation-objects
|
||||
class DOMImplementation(Protocol):
|
||||
|
||||
Reference in New Issue
Block a user