1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed typo in Query.clone()'s docstring.

This commit is contained in:
非法操作
2022-05-13 11:16:15 +08:00
committed by Mariusz Felisiak
parent eacd4977f6
commit 19dc3f0f96

View File

@@ -319,7 +319,7 @@ class Query(BaseExpression):
def clone(self):
"""
Return a copy of the current Query. A lightweight alternative to
to deepcopy().
deepcopy().
"""
obj = Empty()
obj.__class__ = self.__class__