summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2021-09-13 02:42:58 +0200
committerGitHub <noreply@github.com>2021-09-13 02:42:58 +0200
commitfbd326b1f37f15acaca5781067fa9fe1e5c46136 (patch)
treef7af81df97bfdd64f9c088282d4d81952e6effe0 /doc
parent719231e69dbd0908d09a8f6d7771ab6278c9265a (diff)
parenta15847e5cae47a40113e504fc7914eb84a6f1171 (diff)
Merge pull request #52614 from Calinou/doc-get-class-name
Document `Object.get_class()/is_class()` ignores `class_name` declaration
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Object.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml
index c9e9a0699c..57b5de7c76 100644
--- a/doc/classes/Object.xml
+++ b/doc/classes/Object.xml
@@ -331,7 +331,8 @@
<method name="get_class" qualifiers="const">
<return type="String" />
<description>
- Returns the object's class as a [String].
+ Returns the object's class as a [String]. See also [method is_class].
+ [b]Note:[/b] [method get_class] does not take [code]class_name[/code] declarations into account. If the object has a [code]class_name[/code] defined, the base class name will be returned instead.
</description>
</method>
<method name="get_incoming_connections" qualifiers="const">
@@ -441,7 +442,8 @@
<return type="bool" />
<argument index="0" name="class" type="String" />
<description>
- Returns [code]true[/code] if the object inherits from the given [code]class[/code].
+ Returns [code]true[/code] if the object inherits from the given [code]class[/code]. See also [method get_class].
+ [b]Note:[/b] [method is_class] does not take [code]class_name[/code] declarations into account. If the object has a [code]class_name[/code] defined, [method is_class] will return [code]false[/code] for that name.
</description>
</method>
<method name="is_connected" qualifiers="const">