From 8ec1d85dfd847c79a8feb391f1ce83be0baa9391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radim=20=C5=98eh=C5=AF=C5=99ek?= Date: Thu, 4 Mar 2021 20:12:36 +0100 Subject: [PATCH] fix flake8 error --- gensim/corpora/dictionary.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gensim/corpora/dictionary.py b/gensim/corpora/dictionary.py index 6ee641366b..6f40f252aa 100644 --- a/gensim/corpora/dictionary.py +++ b/gensim/corpora/dictionary.py @@ -82,7 +82,6 @@ def __init__(self, documents=None, prune_at=2000000): msg=f"built {self} from {self.num_docs} documents (total {self.num_pos} corpus positions)", ) - def __getitem__(self, tokenid): """Get the string token that corresponds to `tokenid`.