From 7b97da6821a45ce34e731df68980dea0983cf18c Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sun, 23 Jun 2019 02:29:14 +0200 Subject: Shorten __repr__() functions a bit Do 'add = fields.append'. Pointless as an optimization, but shaves some lines, and obvious in context. Also add test coverage for __repr__() for string symbols with user values. --- tests/Krepr | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/Krepr b/tests/Krepr index 72b401d..fe6d8f0 100644 --- a/tests/Krepr +++ b/tests/Krepr @@ -14,6 +14,9 @@ config BASIC config VISIBLE bool "visible" +config STRING + string "visible" + config DIR_DEP_N depends on n -- cgit v1.2.3