From 417f485da7ccbc187d4f39302a27933c8221c1ec Mon Sep 17 00:00:00 2001 From: JawnsenTrain <44305457+JawnsenTrain@users.noreply.github.com> Date: Mon, 26 Nov 2018 04:55:51 -0600 Subject: [PATCH] Added a comma after class (#23613) --- .../python/object-oriented-programming/classes/index.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/guide/english/python/object-oriented-programming/classes/index.md b/guide/english/python/object-oriented-programming/classes/index.md index 5a90e1d39c..ffa3cb8250 100644 --- a/guide/english/python/object-oriented-programming/classes/index.md +++ b/guide/english/python/object-oriented-programming/classes/index.md @@ -16,7 +16,7 @@ Each of those variables are now an instance of the class Person, and have all th ## Create a Class -To define a class the keyword **class** is used, followed by the name defining the class and a colon. The lines after the definition line (code describing attributes and behaviors/methods) are indented as in a Python function. +To define a class, the keyword **class** is used, followed by the name defining the class and a colon. The lines after the definition line (code describing attributes and behaviors/methods) are indented as in a Python function. For example, to create a class named Person, we can write: @@ -29,6 +29,4 @@ Class definitions must be executed before they have any effect. There is tons of information on classes online. https://www.w3schools.com/python/python_classes.asp is an easy introduction. - - - + \ No newline at end of file