mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-29 11:16:44 +08:00
[stdlib] Copy-edit deprecation messages (#14614)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
co-authored by
Alex Waygood
parent
9bb8c4f1f9
commit
5e0d6ee95e
+6
-2
@@ -10,9 +10,13 @@ if sys.version_info >= (3, 13):
|
||||
__all__ += ["translate"]
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
@deprecated("Will be removed in Python 3.15; Use `glob.glob` and pass *root_dir* argument instead.")
|
||||
@deprecated(
|
||||
"Deprecated since Python 3.10; will be removed in Python 3.15. Use `glob.glob()` with the *root_dir* argument instead."
|
||||
)
|
||||
def glob0(dirname: AnyStr, pattern: AnyStr) -> list[AnyStr]: ...
|
||||
@deprecated("Will be removed in Python 3.15; Use `glob.glob` and pass *root_dir* argument instead.")
|
||||
@deprecated(
|
||||
"Deprecated since Python 3.10; will be removed in Python 3.15. Use `glob.glob()` with the *root_dir* argument instead."
|
||||
)
|
||||
def glob1(dirname: AnyStr, pattern: AnyStr) -> list[AnyStr]: ...
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user