From 2da34fea2979af25cf1c7ff5f5e5dfbb70d2339c Mon Sep 17 00:00:00 2001 From: Daniel Cheng Date: Tue, 21 Mar 2017 20:42:12 -0700 Subject: [PATCH] Fix typo in pydoc for OldContents(). BUG=702851 Change-Id: I56ae20bdc096aaa92ccb5e6e250349ccf4c01a32 Reviewed-on: https://chromium-review.googlesource.com/457913 Reviewed-by: Dirk Pranke Commit-Queue: Daniel Cheng --- presubmit_support.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/presubmit_support.py b/presubmit_support.py index c6e71beb7..08c4774a3 100755 --- a/presubmit_support.py +++ b/presubmit_support.py @@ -680,8 +680,8 @@ class AffectedFile(object): def OldContents(self): """Returns an iterator over the lines in the old version of file. - The new version is the file in the user's workspace, i.e. the "right hand - side". + The old version is the file before any modifications in the user's + workspace, i.e. the "left hand side". Contents will be empty if the file is a directory or does not exist. Note: The carriage returns (LF or CR) are stripped off.