Skip to content

Commit 847b705

Browse files
committed
put the description of _unrank_helper at start of the method
1 parent 2fb35a6 commit 847b705

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sage/combinat/integer_vector.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,12 +782,13 @@ def __contains__(self, x):
782782

783783
def _unrank_helper(self, x, rtn):
784784
"""
785+
Return the element at rank ``x`` by iterating through all integer vectors beginning with ``rtn``.
786+
785787
INPUT:
786788
787789
- ``x`` - a nonnegative integer
788790
- ``rtn`` - a list of nonnegative integers
789791
790-
Return the element at rank ``x`` by iterating through all integer vectors beginning with ``rtn``.
791792
792793
EXAMPLES::
793794

0 commit comments

Comments
 (0)