Skip to content

Commit

Permalink
Updated method integers
Browse files Browse the repository at this point in the history
  • Loading branch information
lk-geimfari committed Jan 29, 2018
1 parent 88a66e4 commit 6b1d722
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -11,6 +11,9 @@
- Significantly improved performance of `schema.Field`
- Other minor improvements

**Updated**:
- Updated method `integers`

---

## Version 1.0.5
Expand Down
4 changes: 2 additions & 2 deletions mimesis/providers/numbers.py
Expand Up @@ -33,8 +33,8 @@ def integers(self, start: int = 0, end: int = 10,
:Example:
[-20, -19, -18, -17]
"""
numbers = [self.random.randint(start, end) for _ in range(length)]
return numbers
return self.random.randints(
length, start, end)

@staticmethod
def primes(start: int = 1, end: int = 999) -> List[int]:
Expand Down

0 comments on commit 6b1d722

Please sign in to comment.