summaryrefslogtreecommitdiff
path: root/docs/topics/python3.txt
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-08-19 11:10:59 -0700
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-08-19 11:10:59 -0700
commita2ba02614f693debf977db9f3c7ec81c127e3778 (patch)
tree1d0754a638e5170beb0eb19293f167d67f0f3a41 /docs/topics/python3.txt
parent5f2d9cdbb1b1a8c91dcdd55e672801536711b5ef (diff)
parent268fa9631ec8bba04ab82aa80891e07cc02cdce2 (diff)
Merge pull request #293 from mjtamlyn/patch-1
Fixed indentation in the Python3 docs
Diffstat (limited to 'docs/topics/python3.txt')
-rw-r--r--docs/topics/python3.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/python3.txt b/docs/topics/python3.txt
index 589856bd4e..b22a331514 100644
--- a/docs/topics/python3.txt
+++ b/docs/topics/python3.txt
@@ -301,12 +301,12 @@ Division
def __truediv__(self, other):
return self / other # implement some logic here
- __div__ = __truediv__ # Python 2 compatibility
+ __div__ = __truediv__ # Python 2 compatibility
- def __itruediv__(self, other):
+ def __itruediv__(self, other):
return self // other # implement some logic here
- __idiv__ = __itruediv__ # Python 2 compatibility
+ __idiv__ = __itruediv__ # Python 2 compatibility
.. module: django.utils.six