From f7f53d431243aac7730d3a8b1af4f0a6f260629c Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sat, 14 Oct 2017 18:27:48 +0200 Subject: [PATCH] Link to namedtuple confusion Without any reasons, it looks a bit hand-wavy. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 077de68a..1c6b2a3d 100644 --- a/README.rst +++ b/README.rst @@ -67,7 +67,7 @@ After *declaring* your attributes ``attrs`` gives you: *without* writing dull boilerplate code again and again and *without* runtime performance penalties. -This gives you the power to use actual classes with actual types in your code instead of confusing ``tuple``\ s or confusingly behaving ``namedtuple``\ s. +This gives you the power to use actual classes with actual types in your code instead of confusing ``tuple``\ s or `confusingly behaving `_ ``namedtuple``\ s. Which in turn encourages you to write *small classes* that do `one thing well `_. Never again violate the `single responsibility principle `_ just because implementing ``__init__`` et al is a painful drag.