summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2015-01-21 19:26:51 +0100
committerTim Graham <timograham@gmail.com>2015-01-23 14:37:12 -0500
commit16ee52d21d6835302bcd5ee594c5d6a0ef22d138 (patch)
treef2a61a5482e70d08e1ec71b4da02073c0363a02b /docs/topics
parent851f5bd413a93708436a129442007448755b34f3 (diff)
Fixed #24205 -- Deprecated Signal.disconnect weak parameter.
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/signals.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/topics/signals.txt b/docs/topics/signals.txt
index 7722379769..623e595daf 100644
--- a/docs/topics/signals.txt
+++ b/docs/topics/signals.txt
@@ -275,7 +275,7 @@ error instance is returned in the tuple pair for the receiver that raised the er
Disconnecting signals
=====================
-.. method:: Signal.disconnect([receiver=None, sender=None, weak=True, dispatch_uid=None])
+.. method:: Signal.disconnect([receiver=None, sender=None, dispatch_uid=None])
To disconnect a receiver from a signal, call :meth:`Signal.disconnect`. The
arguments are as described in :meth:`.Signal.connect`. The method returns
@@ -287,3 +287,8 @@ may be ``None`` if ``dispatch_uid`` is used to identify the receiver.
.. versionchanged:: 1.8
The boolean return value was added.
+
+.. deprecated:: 1.9
+
+ The ``weak`` argument is deprecated as it has no effect. It will be removed
+ in Django 2.1.