Fix docs to clarify the less than 256 limit for Padding(). (#3099)
* Fix docs to clarify the less than 256 limit.
* Add "inclusive".
diff --git a/docs/hazmat/primitives/padding.rst b/docs/hazmat/primitives/padding.rst
index b346b59..d45a5b8 100644
--- a/docs/hazmat/primitives/padding.rst
+++ b/docs/hazmat/primitives/padding.rst
@@ -39,7 +39,7 @@
:param block_size: The size of the block in bits that the data is being
padded to.
:raises ValueError: Raised if block size is not a multiple of 8 or is not
- between 0 and 256.
+ between 0 and 255 inclusive.
.. method:: padder()
@@ -82,7 +82,7 @@
:param block_size: The size of the block in bits that the data is being
padded to.
:raises ValueError: Raised if block size is not a multiple of 8 or is not
- between 0 and 256.
+ between 0 and 255 inclusive.
.. method:: padder()