Opened 10 years ago
Last modified 4 years ago
#10261 closed enhancement
Improve documentation for word (over str vs over integer) — at Version 5
Reported by: | slabbe | Owned by: | slabbe |
---|---|---|---|
Priority: | major | Milestone: | sage-6.4 |
Component: | documentation | Keywords: | sd75 |
Cc: | tmonteil | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
As noticed by Florent Hivert here, the following two objects :
sage: w = Word('010120') sage: z = Word([0, 1, 0, 1, 2, 0])
have the same string representation :
sage: w word: 010120 sage: z word: 010120
but are not equal :
sage: w == z False
Indeed, w and z are defined on different alphabet :
sage: w[2] '0' sage: z[2] 0
Documentation about this should be improved.
Also that url looks very bad: http://doc.sagemath.org/html/en/reference/combinat/sage/combinat/words/__init__.html
which is referenced from http://doc.sagemath.org/html/en/reference/combinat/index.html
Change History (5)
comment:1 Changed 7 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:2 Changed 6 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:3 Changed 6 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:4 Changed 6 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:5 Changed 4 years ago by
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.