summaryrefslogtreecommitdiffstats
path: root/Lib/popen2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/popen2.py')
-rw-r--r--Lib/popen2.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/popen2.py b/Lib/popen2.py
index 6c5cd61..2e25868 100644
--- a/Lib/popen2.py
+++ b/Lib/popen2.py
@@ -8,6 +8,9 @@ and popen3(cmd) which return two or three pipes to the spawned command.
import os
import sys
+import warnings
+warnings.warn("The popen2 module is deprecated. Use the subprocess module.",
+ DeprecationWarning, stacklevel=2)
__all__ = ["popen2", "popen3", "popen4"]