diff options
| author | Tim Graham <timograham@gmail.com> | 2019-02-04 19:53:27 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-02-05 12:58:55 -0500 |
| commit | 41384812efe209c8295a50d78b45e0ffb2992436 (patch) | |
| tree | 3814c1bd03c908697dea561f942a201be66f4aa2 /docs/ref | |
| parent | efe28d3f566a00e76ae589a3f93be8079a638ca8 (diff) | |
Refs #27753 -- Removed django.utils.six.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/utils.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 300d4c1bea..23a4d6dedd 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -191,15 +191,6 @@ The functions defined in this module share the following properties: .. module:: django.utils.encoding :synopsis: A series of helper functions to manage character encoding. -.. function:: python_2_unicode_compatible - - A decorator that defines ``__unicode__`` and ``__str__`` methods under - Python 2. Under Python 3 it does nothing. - - To support Python 2 and 3 with a single code base, define a ``__str__`` - method returning text (use ``six.text_type()`` if you're doing some - casting) and apply this decorator to the class. - .. function:: smart_text(s, encoding='utf-8', strings_only=False, errors='strict') Returns a ``str`` object representing arbitrary object ``s``. Treats |
