From 3bb49cb90c8983190c615c230a7c13b32936bea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurycy=20Paw=C5=82owski-Wiero=C5=84ski?= Date: Sat, 21 Nov 2026 21:19:08 +0100 Subject: [PATCH] [3.14] gh-66074: Remove `os.stat_result` references to Classic Mac OS `st_rsize`, `st_creator`, `st_type` (GH-162382) (cherry picked from commit 83d2ed45179457c1248793d83adb48e2869bd912) --- Doc/library/os.rst | 14 -------------- Doc/tools/removed-ids.txt | 5 +++++ 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst index b0a390b588fe598..36c83164f9a9624 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -3333,20 +3333,6 @@ features: String that uniquely identifies the type of the filesystem that contains the file. - On macOS systems, the following attributes may also be available: - - .. attribute:: st_rsize - - Real size of the file. - - .. attribute:: st_creator - - Creator of the file. - - .. attribute:: st_type - - File type. - On Windows systems, the following attributes are also available: .. attribute:: st_file_attributes diff --git a/Doc/tools/removed-ids.txt b/Doc/tools/removed-ids.txt index c1e234f0fef8738..efed29651ddc557 100644 --- a/Doc/tools/removed-ids.txt +++ b/Doc/tools/removed-ids.txt @@ -2,3 +2,8 @@ # Removed sections faq/library.html: none-of-my-threads-seem-to-run-why + +# Classic Mac OS attributes that 'os.stat_result' does not have +library/os.html: os.stat_result.st_creator +library/os.html: os.stat_result.st_rsize +library/os.html: os.stat_result.st_type