mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-24 05:25:17 +00:00
Remove duplicate imports from os-stat documentation (#8930)
Closes https://github.com/astral-sh/ruff/issues/8799.
This commit is contained in:
parent
d674e7946d
commit
ee5d95f751
1 changed files with 0 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue