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

Commit

Permalink
simplify _repr_ code
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Aug 11, 2016
1 parent 4102e47 commit b92ff44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/combinat/k_regular_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def _repr_(self):
"""
from sage.misc.lazy_list import lazy_list_formatter
return lazy_list_formatter(
[self[n] for n in xrange(11)], # once slicing works, use self
self,
name='{}-regular sequence'.format(self.parent().k),
opening_delimiter='', closing_delimiter='',
preview=10)
Expand Down

0 comments on commit b92ff44

Please sign in to comment.