From eb08e907565b02b577eac82a43ff796784ef2cdd Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Fri, 4 Aug 2017 14:09:12 +0300 Subject: [PATCH] Nothing. --- aiogram/utils/helper.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aiogram/utils/helper.py b/aiogram/utils/helper.py index 0abd542d..97220c7c 100644 --- a/aiogram/utils/helper.py +++ b/aiogram/utils/helper.py @@ -157,6 +157,10 @@ class ListItem(Item): def __get__(self, instance, owner): return ItemsList(self._value) + def __getitem__(self, item): + # Only for IDE. This method is never be called. + return self._value + # Need only for IDE __iadd__ = __add__ = __rand__ = __and__ = __ror__ = __or__ = add