#15006: Unclear example in the tutorial
------------------------------+-----------------------------
Reporter: mmezzarobba | Owner:
Type: PLEASE CHANGE | Status: new
Priority: minor | Milestone: sage-5.12
Component: documentation | Keywords: tutorial
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Dependencies: | Stopgaps:
------------------------------+-----------------------------
`src/doc/en/tutorial/programming.rst` contains the following text:
{{{
A common idiom is to iterate through the pairs in a dictionary:
::
sage: d = {2:4, 3:9, 4:16}
sage: [a*b for a, b in d.iteritems()]
[8, 27, 64]
A dictionary is unordered, as the last output illustrates.
}}}
It may just be me being thick but I don't see how this illustrates that a
dictionary is unordered.
--
Ticket URL: <http://trac.sagemath.org/ticket/15006>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.