summaryrefslogtreecommitdiff
path: root/doc/classes/@GlobalScope.xml
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2021-07-27 22:48:49 +0200
committerRaul Santos <raulsntos@gmail.com>2022-08-07 20:35:56 +0200
commit87a1bca37bda8f45f987ac1fdaa78459d8844c08 (patch)
tree8952ab7f7134e1b30a4129873f153bc569bc11a4 /doc/classes/@GlobalScope.xml
parentf754dd20be5d69cd94ea83ceee8c7fb72f5d3507 (diff)
Fix typo in weakref documentation
Diffstat (limited to 'doc/classes/@GlobalScope.xml')
-rw-r--r--doc/classes/@GlobalScope.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml
index 658a13d05b..7a75823230 100644
--- a/doc/classes/@GlobalScope.xml
+++ b/doc/classes/@GlobalScope.xml
@@ -1125,7 +1125,7 @@
<return type="Variant" />
<argument index="0" name="obj" type="Variant" />
<description>
- Returns a weak reference to an object, or [code]null[/code] is the argument is invalid.
+ Returns a weak reference to an object, or [code]null[/code] if the argument is invalid.
A weak reference to an object is not enough to keep the object alive: when the only remaining references to a referent are weak references, garbage collection is free to destroy the referent and reuse its memory for something else. However, until the object is actually destroyed the weak reference may return the object even if there are no strong references to it.
</description>
</method>