mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-02 18:02:23 +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
|
/// ## Examples
|
||||||
/// ```python
|
/// ```python
|
||||||
/// import os
|
/// import os
|
||||||
///
|
|
||||||
/// import os
|
|
||||||
/// from pwd import getpwuid
|
/// from pwd import getpwuid
|
||||||
/// from grp import getgrgid
|
/// from grp import getgrgid
|
||||||
///
|
///
|
||||||
|
@ -719,8 +717,6 @@ impl Violation for OsReadlink {
|
||||||
/// ```python
|
/// ```python
|
||||||
/// from pathlib import Path
|
/// from pathlib import Path
|
||||||
///
|
///
|
||||||
/// from pathlib import Path
|
|
||||||
///
|
|
||||||
/// file_path = Path(file_name)
|
/// file_path = Path(file_name)
|
||||||
/// stat = file_path.stat()
|
/// stat = file_path.stat()
|
||||||
/// owner_name = file_path.owner()
|
/// owner_name = file_path.owner()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue