Commits

German Larrain committed c3da156

app.ActionMap.has_key: replaced `dict.has_key` with the `in` operator for
Python 3 compatibility.

  • Participants
  • Parent commits e5eb781

Comments (0)

Files changed (1)

ars/app/__init__.py

 		self._map[key] = (value, repeat)
 
 	def has_key(self, key):
-		return self._map.has_key(key)
+		return key in self._map
 
 	def get(self, key, default=None):
 		return self._map.get(key, default)