diff --git a/Lib/_pyio.py b/Lib/_pyio.py index cb5a619f02a48c..d4460ecdce6377 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -311,16 +311,6 @@ def _open_code_with_warning(path): open_code = _open_code_with_warning -class DocDescriptor: - """Helper for builtins.open.__doc__ - """ - def __get__(self, obj, typ=None): - return ( - "open(file, mode='r', buffering=-1, encoding=None, " - "errors=None, newline=None, closefd=True)\n\n" + - open.__doc__) - - # bpo-43680: Alias to open() kept for backward compatibility OpenWrapper = open pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy