Skip to content

Commit 609059a

Browse files
committed
Update comments (Obsolete -> deprecated)
1 parent 41cce4f commit 609059a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

django-stubs/db/models/query.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class RawQuerySet(Iterable[_Model], Sized):
227227
def resolve_model_init_order(self) -> tuple[list[str], list[int], list[tuple[str, int]]]: ...
228228
def using(self, alias: str | None) -> RawQuerySet[_Model]: ...
229229

230-
# Obsolete aliases of QuerySet, for compatibility only.
230+
# Deprecated aliases of QuerySet, for compatibility only.
231231
_QuerySet: TypeAlias = QuerySet[_T, _Row]
232232
_QuerySetAny: TypeAlias = QuerySet # noqa: PYI047
233233

ext/django_stubs_ext/aliases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
from django.utils.functional import _StrOrPromise as StrOrPromise
66
from django.utils.functional import _StrPromise as StrPromise
77

8-
# Obsolete type aliases. Use the QuerySet class directly instead.
8+
# Depecated type aliases. Use the QuerySet class directly instead.
99
QuerySetAny = _QuerySetAny
1010
ValuesQuerySet = _QuerySet[_T, _Row]
1111
else:
1212
from django.db.models.query import QuerySet
1313
from django.utils.functional import Promise as StrPromise
1414

1515
StrOrPromise = typing.Union[str, StrPromise]
16-
# Obsolete type aliases. Use the QuerySet class directly instead.
16+
# Deprecated type aliases. Use the QuerySet class directly instead.
1717
QuerySetAny = QuerySet
1818
ValuesQuerySet = QuerySet
1919

0 commit comments

Comments
 (0)