From d6d628c493e71bdabba8af42f29d99a2205bad65 Mon Sep 17 00:00:00 2001 From: Vainl Date: Mon, 24 Jan 2022 09:44:52 +0800 Subject: [PATCH] add the missing indentation for python code --- .../Sections/BringYourOwnCode/index.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Containers/Sections/BringYourOwnCode/index.tsx b/src/Containers/Sections/BringYourOwnCode/index.tsx index fc1cc6030f..a347591de7 100644 --- a/src/Containers/Sections/BringYourOwnCode/index.tsx +++ b/src/Containers/Sections/BringYourOwnCode/index.tsx @@ -71,17 +71,17 @@ class Character { code={ `# type Character { class Character: - # name: String - def name(self): - return self._name + # name: String + def name(self): + return self._name - # homeWorld: Planet - def homeWorld(self): - return fetchHomeworld(self._homeworldID) + # homeWorld: Planet + def homeWorld(self): + return fetchHomeworld(self._homeworldID) - # friends: [Character] - def friends(self): - return map(fetchCharacter, self._friendIDs) + # friends: [Character] + def friends(self): + return map(fetchCharacter, self._friendIDs) `} />