Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac 21069 fixing a doctest in Dyck words
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Aug 23, 2016
1 parent 14b364e commit 7548e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/combinat/dyck_word.py
Expand Up @@ -1742,7 +1742,7 @@ def list_parking_functions(self):
sage: DyckWord([1,1,1,0,0,0]).list_parking_functions()
Permutations of the multi-set [1, 1, 1]
sage: DyckWord([1,0,1,0,1,0]).list_parking_functions()
Permutations of the set [1, 2, 3]
Standard permutations of 3
"""
alist = self.to_area_sequence()
return Permutations([i - alist[i]+1 for i in range(len(alist))])
Expand Down

0 comments on commit 7548e6e

Please sign in to comment.