From ec0ff406311de88f4e2a135d784363424fe602aa Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 19 Jan 2021 08:35:16 +0100 Subject: Fixed #32355 -- Dropped support for Python 3.6 and 3.7 --- docs/ref/django-admin.txt | 4 ---- docs/ref/utils.txt | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 2dcd860400..7252fca57f 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1507,10 +1507,6 @@ May be specified multiple times and combined with :option:`test --tag`. Runs test methods and classes matching test name patterns, in the same way as :option:`unittest's -k option`. Can be specified multiple times. -.. admonition:: Python 3.7 and later - - This feature is only available for Python 3.7 and later. - .. django-admin-option:: --pdb Spawns a ``pdb`` debugger at each test error or failure. If you have it diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 843d6ab4de..485009bde6 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -493,9 +493,7 @@ https://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004 expensive ``get_friends()`` method and wanted to allow calling it without retrieving the cached value, you could write:: - friends = cached_property(get_friends, name='friends') - - You only need the ``name`` argument for Python < 3.6 support. + friends = cached_property(get_friends) While ``person.get_friends()`` will recompute the friends on each call, the value of the cached property will persist until you delete it as described -- cgit v1.3