From fee1e15b95f518c9746bfb3ec3d60273ff40beb2 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Sun, 24 May 2026 15:22:53 -0700 Subject: [PATCH] docs: correct PossibleValueTypes note in between to include None --- src/validators/between.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validators/between.py b/src/validators/between.py index 14ef4e0..b37f164 100644 --- a/src/validators/between.py +++ b/src/validators/between.py @@ -59,7 +59,7 @@ def between( (TypeError): If there's a type mismatch during comparison. Note: - - `PossibleValueTypes` = `TypeVar("PossibleValueTypes", int, float, str, datetime)` + - `PossibleValueTypes` = `TypeVar("PossibleValueTypes", int, float, str, datetime, None)` - If neither `min_val` nor `max_val` is provided, result will always be `True`. """ if value is None: