diff options
author | Larry Hastings <larry@hastings.org> | 2013-11-24 22:05:57 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2013-11-24 22:05:57 (GMT) |
commit | 99e101013fa36da37e47a5a18b5a62d621b0efb9 (patch) | |
tree | f603004433e242a1eb26573cd9ec54846229d071 /Lib/fileinput.py | |
parent | d34b620cc3b8b2326b511f98b0ca439ad97b83b8 (diff) | |
parent | 2480c2ed593a164fe3a4821a13d5867a0a7102ed (diff) | |
download | cpython-99e101013fa36da37e47a5a18b5a62d621b0efb9.zip cpython-99e101013fa36da37e47a5a18b5a62d621b0efb9.tar.gz cpython-99e101013fa36da37e47a5a18b5a62d621b0efb9.tar.bz2 |
Merged 3.4.0b1 release head back into trunk.
Diffstat (limited to 'Lib/fileinput.py')
-rw-r--r-- | Lib/fileinput.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/fileinput.py b/Lib/fileinput.py index 11ba82d..de29518 100644 --- a/Lib/fileinput.py +++ b/Lib/fileinput.py @@ -224,7 +224,7 @@ class FileInput: "'r', 'rU', 'U' and 'rb'") if 'U' in mode: import warnings - warnings.warn("Use of 'U' mode is deprecated", + warnings.warn("'U' mode is deprecated", DeprecationWarning, 2) self._mode = mode if openhook: |