From e3b0b1f91aae0d2ec50098595fd43b05e68b3758 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Fri, 8 Oct 2021 21:04:12 -0400 Subject: [PATCH] integral? that took me a while to figure out integral: "In mathematics, an integral assigns numbers to functions in a way that describes displacement, area, volume, and other concepts that arise by combining infinitesimal data." integer: an int type --- gunicorn/http/body.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/http/body.py b/gunicorn/http/body.py index afde3685..aa1af2cb 100644 --- a/gunicorn/http/body.py +++ b/gunicorn/http/body.py @@ -18,7 +18,7 @@ class ChunkedReader(object): 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: