Skip to content

Commit

Permalink
Deleted russian text
Browse files Browse the repository at this point in the history
  • Loading branch information
natenka committed May 19, 2021
1 parent 65084b5 commit 2647e84
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/source/book/22_oop_basics/class_variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2647e84

Please sign in to comment.