dict: add since annotations

pull/3490/head
Mathieu Duponchelle 7 years ago
parent 5bb863c891
commit fe6fc59ee7
  1. 2
      docs/markdown/Reference-manual.md
  2. 5
      docs/markdown/Syntax.md

@ -1745,6 +1745,8 @@ The following methods are defined for all [dictionaries](Syntax.md#dictionaries)
You can also iterate over dictionaries with the [`foreach`
statement](Syntax.md#foreach-statements).
Dictionaries are available since 0.47.0.
## Returned objects
These are objects returned by the [functions listed above](#functions).

@ -304,6 +304,8 @@ my_dict = {'foo': 42, 'foo': 43}
Dictionaries are immutable.
Dictionaries are available since 0.47.0.
Visit the [Reference Manual](Reference-manual.md#dictionary-object) to read
about the methods exposed by dictionaries.
@ -377,7 +379,8 @@ endforeach
### Foreach with a dictionary
Here's an example of you could iterate a set of components that
should be compiled in according to some configuration.
should be compiled in according to some configuration. This uses
a [dictionary][dictionaries], which is available since 0.47.0.
```meson
components = {

Loading…
Cancel
Save