summaryrefslogtreecommitdiff
path: root/docs/topics/python3.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/topics/python3.txt')
-rw-r--r--docs/topics/python3.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/topics/python3.txt b/docs/topics/python3.txt
index 33f5fcd4c0..22e609c75c 100644
--- a/docs/topics/python3.txt
+++ b/docs/topics/python3.txt
@@ -317,6 +317,9 @@ Division
def __idiv__(self, other): # Python 2 compatibility
return type(self).__itruediv__(self, other)
+Special methods are looked up on the class and not on the instance to reflect
+the behavior of the Python interpreter.
+
.. module: django.utils.six
Writing compatible code with six