From 2647e842d23fc8e95e2904b13b7bf852586966df Mon Sep 17 00:00:00 2001 From: Natasha Samoylenko Date: Wed, 19 May 2021 13:14:59 +0300 Subject: [PATCH] Deleted russian text --- docs/source/book/22_oop_basics/class_variables.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/source/book/22_oop_basics/class_variables.rst b/docs/source/book/22_oop_basics/class_variables.rst index a5ff694..fb5e5ea 100644 --- a/docs/source/book/22_oop_basics/class_variables.rst +++ b/docs/source/book/22_oop_basics/class_variables.rst @@ -40,12 +40,6 @@ The disadvantage of this option is that if in the method you write ``self.all_allocated_ip = ...``, instead of changing the class variable, an instance variable will be created. -Вариант ``Network.all_allocated_ip`` будет работать корректно, но небольшой минус -этого варианта в том, что имя класса прописано вручную. -Вместо него можно использовать третий вариант ``type(self).all_allocated_ip``, -так как ``type(self)`` возвращает класс. - - The option ``Network.all_allocated_ip`` will work correctly, but a small drawback this option is that the class name is written manually. You can use the third option ``type(self).all_allocated_ip`` instead,