From cf670d3414e5b32eb1595bbb33f8ee4199d32f30 Mon Sep 17 00:00:00 2001 From: "Stanislav (Stanley) Modrak" <44023416+smith558@users.noreply.github.com> Date: Mon, 13 May 2024 07:19:23 +0100 Subject: [python/en] Clarify inheritance description (#4759) --- python.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python.html.markdown b/python.html.markdown index a9b5f92c..0cdf256a 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -826,8 +826,8 @@ if __name__ == "__main__": # variables from their parent class. # Using the Human class defined above as the base or parent class, we can -# define a child class, Superhero, which inherits the class variables like -# "species", "name", and "age", as well as methods, like "sing" and "grunt" +# define a child class, Superhero, which inherits variables like "species", +# "name", and "age", as well as methods, like "sing" and "grunt" # from the Human class, but can also have its own unique properties. # To take advantage of modularization by file you could place the classes above -- cgit v1.2.3