diff --git a/kwant/builder.py b/kwant/builder.py
index faf37135090897feff18d3cb2841575613635ca9..acdeb92d9b9b2a709d49998d5b175fa78b2872ad 100644
--- a/kwant/builder.py
+++ b/kwant/builder.py
@@ -881,9 +881,6 @@ class Builder:
 
     def __setitem__(self, key, value):
         """Set a single site/hopping or a bunch of them."""
-        # TODO: Once we can take Python 3 for granted, get rid of the if-clause
-        # inside the loop by defining a special func that rebinds itself upon
-        # the first call.
         func = None
         for sh in self.expand(key):
             if func is None:
@@ -927,9 +924,6 @@ class Builder:
 
     def __delitem__(self, key):
         """Delete a single site/hopping or bunch of them."""
-        # TODO: Once we can take Python 3 for granted, get rid of the if-clause
-        # inside the loop by defining a special func that rebinds itself upon
-        # the first call.
         func = None
         for sh in self.expand(key):
             if func is None: