Skip to content

Commit

Permalink
Merge pull request #2665 from jettero/patch-1
Browse files Browse the repository at this point in the history
integral? that took me a while to figure out
  • Loading branch information
benoitc committed Aug 6, 2022
2 parents 4bb9090 + e3b0b1f commit 053e15c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gunicorn/http/body.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __init__(self, req, unreader):

def read(self, size):
if not isinstance(size, int):
raise TypeError("size must be an integral type")
raise TypeError("size must be an integer type")
if size < 0:
raise ValueError("Size must be positive.")
if size == 0:
Expand Down

0 comments on commit 053e15c

Please sign in to comment.