From 9c67c4205f9fbef8dc4230deb17a68abf9b0c2b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 29 Dec 2018 15:17:23 +0100 Subject: [PATCH] Namedtuple --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5839e7a..8ce3f86 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ Point(x=1, y=2) 1 >>> getattr(p, 'y') 2 ->>> Point._fields # Or: p._fields +>>> p._fields # Or: Point._fields ('x', 'y') ```