From 7e4bfa520f240f5c6859369af9d0c18a226bcc12 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 28 Apr 2008 06:00:11 +0000 Subject: [PATCH] Add comma to ("__weakref__",) so that it's a tuple instead of a string. Thanks to ferringb. svn path=/main/trunk/; revision=10020 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 947634354..2309eb4d8 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -831,7 +831,7 @@ def filter_iuse_defaults(iuse): yield flag class SlotObject(object): - __slots__ = ("__weakref__") + __slots__ = ("__weakref__",) def __init__(self, **kwargs): classes = [self.__class__] -- 2.26.2