mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-25 02:57:14 +08:00
Update various comments now non-types dependencies are allowed (#9527)
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
# Partial typing of the vendored modulegraph package.
|
||||
# We reference the vendored package rather than depending on the original untyped module.
|
||||
# Anything not referenced in the PyInstaller stubs doesn't need to be added here.
|
||||
|
||||
from typing import Any, Protocol
|
||||
|
||||
class _SupportsGraphident(Protocol):
|
||||
graphident: str
|
||||
|
||||
# TODO: For typing purposes, once #5768 is complete, it'll be easier to use the modulegraph package directly.
|
||||
|
||||
# code, filename and packagepath are always initialized to None. But they can be given a value later.
|
||||
class Node:
|
||||
# Compiled code. See stdlib.builtins.compile
|
||||
|
||||
Reference in New Issue
Block a user