Commit 9242a4af authored by Fred Drake's avatar Fred Drake

Add a warning to the posixfile module stating that it will go away.

parent bc006af3
...@@ -53,6 +53,13 @@ f.lock(mode [, len [, start [, whence]]]) ...@@ -53,6 +53,13 @@ f.lock(mode [, len [, start [, whence]]])
query only query only
""" """
import warnings
warnings.warn(
"The posixfile module is obsolete and will disappear in the future",
DeprecationWarning)
del warnings
class _posixfile_: class _posixfile_:
"""File wrapper class that provides extra POSIX file routines.""" """File wrapper class that provides extra POSIX file routines."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment