https://github.com/python/cpython/commit/3479e45693eb4f0836ddd8c501514445a8499e92
commit: 3479e45693eb4f0836ddd8c501514445a8499e92
branch: main
author: anthony sottile <[email protected]>
committer: sobolevn <[email protected]>
date: 2026-07-22T13:41:05Z
summary:

Remove `from stat import *` recommendation from `stat.py` docstring (#154486)

files:
M Lib/stat.py

diff --git a/Lib/stat.py b/Lib/stat.py
index 214c7917b5e048..76f02d7aa33d16 100644
--- a/Lib/stat.py
+++ b/Lib/stat.py
@@ -1,7 +1,4 @@
-"""Constants/functions for interpreting results of os.stat() and os.lstat().
-
-Suggested usage: from stat import *
-"""
+"""Constants/functions for interpreting results of os.stat() and os.lstat()."""
 
 # Indices for stat struct members in the tuple returned by os.stat()
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to