summaryrefslogtreecommitdiffstats
path: root/doc/classes/Object.xml
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2020-01-23 14:41:49 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2020-01-23 14:41:49 -0300
commitc4745c96d78aa6d1dcce642bb0b49d72be5f4e72 (patch)
treec446dfe2547292843533c57a42daa19f34b8e5ff /doc/classes/Object.xml
parent1c0995d4509acd0a750f32517b14c01842220cca (diff)
downloadredot-engine-c4745c96d78aa6d1dcce642bb0b49d72be5f4e72.tar.gz
Remove unnecessary extra spaces before comments in code examples.
Diffstat (limited to 'doc/classes/Object.xml')
-rw-r--r--doc/classes/Object.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml
index d063bd81e7..1cf6dfb83f 100644
--- a/doc/classes/Object.xml
+++ b/doc/classes/Object.xml
@@ -12,8 +12,8 @@
Property membership can be tested directly in GDScript using [code]in[/code]:
[codeblock]
var n = Node2D.new()
- print("position" in n) # Prints "True".
- print("other_property" in n) # Prints "False".
+ print("position" in n) # Prints "True".
+ print("other_property" in n) # Prints "False".
[/codeblock]
Objects also receive notifications. Notifications are a simple way to notify the object about different events, so they can all be handled together. See [method _notification].
</description>