fix escaped less than and removal date for PYI057

This commit is contained in:
Brent Westbrook 2025-10-02 08:55:44 -04:00
parent 0639da2552
commit 1c5a9681a5
1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@ use crate::{FixAvailability, Violation};
///
/// ## Why is this bad?
/// `ByteString` has been deprecated since Python 3.9 and will be removed in
/// Python 3.14. The Python documentation recommends using either
/// Python 3.17. The Python documentation recommends using either
/// `collections.abc.Buffer` (or the `typing_extensions` backport
/// on Python <3.12) or a union like `bytes | bytearray | memoryview` instead.
/// on Python versions before 3.12) or a union like `bytes | bytearray | memoryview` instead.
///
/// ## Example
/// ```python