This commit is contained in:
Max Hilbrunner
2018-03-13 19:08:21 +01:00
committed by GitHub
parent 8d879a8a45
commit 4a649c7b4e

View File

@@ -310,9 +310,8 @@ states and quick structs:
# indexing
d.mother = "rebecca"
d["mother"] = "rebecca"
d.name = "caroline" # if key exists, assignment does work, this is why it's like a quick struct.
d.mother = "caroline" # this would work too to create a new key
For & while
-----------