diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-06-10 09:33:43 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-06-10 09:33:43 +0200 |
commit | 77b89263dd37299c3034327a99374d114b42706d (patch) | |
tree | aed7ec1692ae535da6cca27c38507d55b7eb8be2 | |
parent | 201d5a7fc53c041e011ad7a79b805f5989216d28 (diff) |
Mention ordering caveats for `Dictionary.hash()`
See https://github.com/godotengine/godot/issues/27615.
-rw-r--r-- | doc/classes/Dictionary.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Dictionary.xml b/doc/classes/Dictionary.xml index 385f4b7e59..4538e5ea4e 100644 --- a/doc/classes/Dictionary.xml +++ b/doc/classes/Dictionary.xml @@ -148,6 +148,7 @@ # The line below prints `true`, whereas it would have printed `false` if both variables were compared directly. print(dict1.hash() == dict2.hash()) [/codeblock] + [b]Note:[/b] Dictionaries with the same keys/values but in a different order will have a different hash. </description> </method> <method name="keys"> |