Skip to content

Commit ba9e8bc

Browse files
nedbathynek
authored andcommitted
Tweak the English. (#246)
1 parent 566ada9 commit ba9e8bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/why.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ or::
3737
Why would you want to write ``customer[2]`` instead of ``customer.first_name``?
3838

3939
Don't get me started when you add nesting.
40-
If you've never ran into mysterious tuples you had no idea what the hell they meant while debugging, you're much smarter then yours truly.
40+
If you've never run into mysterious tuples you had no idea what the hell they meant while debugging, you're much smarter than yours truly.
4141

4242
Using proper classes with names and types makes program code much more readable and comprehensible_.
4343
Especially when trying to grok a new piece of software or returning to old code after several months.
@@ -123,7 +123,7 @@ With ``attrs`` your users won't notice a difference because it creates regular,
123123
.. [#history] The word is that ``namedtuple``\ s were added to the Python standard library as a way to make tuples in return values more readable.
124124
And indeed that is something you see throughout the standard library.
125125
126-
Looking at what for the makers of ``namedtuple``\ s use it themselves is a good guideline for deciding on your own use cases.
126+
Looking at what the makers of ``namedtuple``\ s use it for themselves is a good guideline for deciding on your own use cases.
127127
.. [#pollution] ``attrs`` only adds a single attribute: ``__attrs_attrs__`` for introspection.
128128
All helpers are functions in the ``attr`` package.
129129
Since they take the instance as first argument, you can easily attach them to your classes under a name of your own choice.

0 commit comments

Comments
 (0)