Skip to content

Commit 4f21ff2

Browse files
authored
Mark TypeVar as private (#50)
1 parent d34a847 commit 4f21ff2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

googleapiclient-stubs/discovery.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ from googleapiclient.discovery_cache.base import Cache
489489
from googleapiclient.http import HttpMock, HttpRequest
490490
from googleapiclient.model import Model
491491

492-
T = TypeVar("T")
492+
_T = TypeVar("_T")
493493

494494
class _BytesGenerator(BytesGenerator): ...
495495

@@ -520,7 +520,7 @@ class Resource:
520520
rootDesc,
521521
schema,
522522
) -> None: ...
523-
def __enter__(self: T) -> T: ...
523+
def __enter__(self: _T) -> _T: ...
524524
def __exit__(
525525
self,
526526
exc_type: type[BaseException] | None,

0 commit comments

Comments
 (0)