[Python-checkins] cpython (3.3): #17504: remove duplicated sentence. Patch by Radu Voicilas.

ezio.melotti python-checkins at python.org
Sun Mar 24 15:11:04 CET 2013


http://hg.python.org/cpython/rev/9445505389cf
changeset:   82940:9445505389cf
branch:      3.3
parent:      82936:4db1b0bb3683
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Sun Mar 24 16:10:24 2013 +0200
summary:
  #17504: remove duplicated sentence.  Patch by Radu Voicilas.

files:
  Lib/unittest/mock.py |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -948,9 +948,6 @@
       the next value from the iterable. If any of the members of the iterable
       are exceptions they will be raised instead of returned.
 
-      If `side_effect` is an iterable then each call to the mock will return
-      the next value from the iterable.
-
     * `return_value`: The value returned when the mock is called. By default
       this is a new Mock (created on first access). See the
       `return_value` attribute.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list