From fa709884214619bfbde05e4970578957f54a3cc0 Mon Sep 17 00:00:00 2001 From: Jorge Maldonado Ventura Date: Sun, 22 Oct 2017 18:07:36 +0200 Subject: [PATCH] Correct typo from documentation Missing comma before etc. --- docs/contribute.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/contribute.rst b/docs/contribute.rst index 187c3007..7fce0242 100644 --- a/docs/contribute.rst +++ b/docs/contribute.rst @@ -116,8 +116,8 @@ and Python 3 at the same time: - Encode/decode strings if e.g. the source is a Python function that is known to handle this badly, e.g. strftime() in Python 2. -- Use new syntax: print function, "except ... *as* e" (not comma) etc. -- Refactor method calls like ``dict.iteritems()``, ``xrange()`` etc. in a way +- Use new syntax: print function, "except ... *as* e" (not comma), etc. +- Refactor method calls like ``dict.iteritems()``, ``xrange()``, etc. in a way that runs without code change in both Python versions. - Do not use magic method ``__unicode()__`` in new classes. Use only ``__str()__`` and decorate the class with ``@python_2_unicode_compatible``.