inclusive language

This commit is contained in:
Gilles Boccon-Gibod
2024-01-17 21:17:13 -08:00
parent b7b70ebcbb
commit 8d2f37aa7a
5 changed files with 6 additions and 6 deletions

View File

@@ -208,7 +208,7 @@ class L2CAP_PDU:
@staticmethod
def from_bytes(data: bytes) -> L2CAP_PDU:
# Sanity check
# Check parameters
if len(data) < 4:
raise ValueError('not enough data for L2CAP header')