Remove duplicate imports from os-stat documentation (#8930)

Closes https://github.com/astral-sh/ruff/issues/8799.
This commit is contained in:
Charlie Marsh 2023-11-30 15:13:29 -05:00 committed by GitHub
parent d674e7946d
commit ee5d95f751
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -705,8 +705,6 @@ impl Violation for OsReadlink {
/// ## Examples
/// ```python
/// import os
///
/// import os
/// from pwd import getpwuid
/// from grp import getgrgid
///
@ -719,8 +717,6 @@ impl Violation for OsReadlink {
/// ```python
/// from pathlib import Path
///
/// from pathlib import Path
///
/// file_path = Path(file_name)
/// stat = file_path.stat()
/// owner_name = file_path.owner()