mirror of
https://github.com/django/django.git
synced 2025-09-27 04:29:17 +00:00
Merge pull request #293 from mjtamlyn/patch-1
Fixed indentation in the Python3 docs
This commit is contained in:
commit
a2ba02614f
1 changed files with 3 additions and 3 deletions
|
@ -301,12 +301,12 @@ Division
|
||||||
def __truediv__(self, other):
|
def __truediv__(self, other):
|
||||||
return self / other # implement some logic here
|
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
|
return self // other # implement some logic here
|
||||||
|
|
||||||
__idiv__ = __itruediv__ # Python 2 compatibility
|
__idiv__ = __itruediv__ # Python 2 compatibility
|
||||||
|
|
||||||
.. module: django.utils.six
|
.. module: django.utils.six
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue