From 76e5203f12d016465a4abff7492184e064b38611 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Wed, 24 May 2017 17:21:37 -0700 Subject: [PATCH] Document interaction between existing_inames and _name_added in UNG --- pytools/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pytools/__init__.py b/pytools/__init__.py index a0470d8..b042963 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -1777,6 +1777,11 @@ class UniqueNameGenerator: def _name_added(self, name): """Callback to alert subclasses when a name has been added. + + .. note:: + + This will not get called for the names in the *existing_names* + argument to :meth:`__init__`. """ pass -- GitLab