diff options
| author | Nik Nyby <nnyby@columbia.edu> | 2015-06-09 09:36:19 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-09 10:37:49 -0400 |
| commit | 1e0a5b796c2027b1603ed7ba490ff92fcad6b7af (patch) | |
| tree | c07cd9e8eca61a8fa01d8c41c8020dcf04f5b90c /docs/topics/python3.txt | |
| parent | 9cf5c4dcff20cace639a507a3756e3ff3198a115 (diff) | |
[1.8.x] Fixed typos in docs/topics/python3.txt
Backport of f67127e0af396e9039038a9e5539425851cf95c4 from master
Diffstat (limited to 'docs/topics/python3.txt')
| -rw-r--r-- | docs/topics/python3.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/python3.txt b/docs/topics/python3.txt index 2f12809163..78303f5214 100644 --- a/docs/topics/python3.txt +++ b/docs/topics/python3.txt @@ -8,7 +8,7 @@ compatibility layer. .. _six: http://pythonhosted.org/six/ -This document is primarily targeted at authors of pluggable application +This document is primarily targeted at authors of pluggable applications who want to support both Python 2 and 3. It also describes guidelines that apply to Django's code. @@ -149,7 +149,7 @@ result with the system encoding. Conversely, the In Python 3, there's simply :meth:`~object.__str__`, which must return ``str`` (text). -(It is also possible to define :meth:`~object.__bytes__`, but Django application +(It is also possible to define :meth:`~object.__bytes__`, but Django applications have little use for that method, because they hardly ever deal with ``bytes``.) Django provides a simple way to define :meth:`~object.__str__` and @@ -208,7 +208,7 @@ Coding guidelines ================= The following guidelines are enforced in Django's source code. They're also -recommended for third-party application who follow the same porting strategy. +recommended for third-party applications that follow the same porting strategy. Syntax requirements ------------------- |
