From 1bcbcfec26b50d8b92ebe0bb071696fef1f4e241 Mon Sep 17 00:00:00 2001 From: InspectorCaracal <51038201+InspectorCaracal@users.noreply.github.com> Date: Tue, 2 Jan 2024 19:54:58 -0700 Subject: [PATCH] fix outdated tutorial code block --- .../Part1/Beginner-Tutorial-Python-classes-and-objects.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Python-classes-and-objects.md b/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Python-classes-and-objects.md index 144bb71906..f664cdcedb 100644 --- a/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Python-classes-and-objects.md +++ b/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Python-classes-and-objects.md @@ -98,11 +98,11 @@ multi-line interpreter. You now only need to import once to use the imported function over and over. > from world.test import hello_world - > hello_world() + > hello_world(me) Hello World! - > hello_world() + > hello_world(me) Hello World! - > hello_world() + > hello_world(me) Hello World! > quit() Closing the Python console. @@ -418,4 +418,4 @@ We will get back to the `objects.py` module in the [next lesson](./Beginner-Tuto We have created our first dragons from classes. We have learned a little about how you _instantiate_ a class into an _object_. We have seen some examples of _inheritance_ and we tested to _override_ a method in the parent with one in the child class. We also used `super()` to good effect. -We have used pretty much raw Python so far. In the coming lessons we'll start to look at the extra bits that Evennia provides. But first we need to learn just where to find everything. \ No newline at end of file +We have used pretty much raw Python so far. In the coming lessons we'll start to look at the extra bits that Evennia provides. But first we need to learn just where to find everything.