From ad16cd36bf949bc20137f9ec7869389c2a489cdd Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sat, 1 Sep 2018 06:01:44 +0200 Subject: [PATCH] Get rid of slangy anymore --- CHANGELOG.rst | 12 ++++++------ src/attr/_make.py | 2 +- tests/test_make.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a7fad311..bef4ef61 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -50,7 +50,7 @@ Changes `#321 `_, `#334 `_ -- If ``attr.s`` is passed a *these* argument, it will not attempt to remove attributes with the same name from the class body anymore. +- If ``attr.s`` is passed a *these* argument, it will no longer attempt to remove attributes with the same name from the class body. `#322 `_, `#323 `_ @@ -169,9 +169,9 @@ Changes Backward-incompatible Changes ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Attributes are not defined on the class body anymore. +- Attributes are no longer defined on the class body. - This means that if you define a class ``C`` with an attribute ``x``, the class will *not* have an attribute ``x`` for introspection anymore. + This means that if you define a class ``C`` with an attribute ``x``, the class will *not* have an attribute ``x`` for introspection. Instead of ``C.x``, use ``attr.fields(C).x`` or look at ``C.__attrs_attrs__``. The old behavior has been deprecated since version 16.1. (`#253 `_) @@ -325,7 +325,7 @@ Changes: Default Python class behavior is to use ``__repr__()`` as ``__str__()`` anyways. If you tried using ``attrs`` with ``Exception``\ s and were puzzled by the tracebacks: this option is for you. -- ``__name__`` is not overwritten with ``__qualname__`` for ``attr.s(slots=True)`` classes anymore. +- ``__name__`` is no longer overwritten with ``__qualname__`` for ``attr.s(slots=True)`` classes. `#99 `_ @@ -407,10 +407,10 @@ Changes: Backward-incompatible Changes: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Python 3.3 and 2.6 aren't supported anymore. +- Python 3.3 and 2.6 are no longer supported. They may work by chance but any effort to keep them working has ceased. - The last Python 2.6 release was on October 29, 2013 and isn't supported by the CPython core team anymore. + The last Python 2.6 release was on October 29, 2013 and is no longer supported by the CPython core team. Major Python packages like Django and Twisted dropped Python 2.6 a while ago already. Python 3.3 never had a significant user base and wasn't part of any distribution's LTS release. diff --git a/src/attr/_make.py b/src/attr/_make.py index efc0c200..bbb7a30b 100644 --- a/src/attr/_make.py +++ b/src/attr/_make.py @@ -493,7 +493,7 @@ class _ClassBuilder(object): """ Finalize class based on the accumulated configuration. - Builder cannot be used anymore after calling this method. + Builder cannot be used after calling this method. """ if self._slots is True: return self._create_slots_class() diff --git a/tests/test_make.py b/tests/test_make.py index c967268b..8bd2d2b9 100644 --- a/tests/test_make.py +++ b/tests/test_make.py @@ -230,7 +230,7 @@ class TestTransformAttrs(object): def test_no_modifications(self): """ - Doesn't attach __attrs_attrs__ to the class anymore. + Does not attach __attrs_attrs__ to the class. """ C = make_tc() _transform_attrs(C, None, False, False)