From 9a3e73da645f426c0490ed65a5b59c98608b8572 Mon Sep 17 00:00:00 2001 From: David Raila <raila@illinois.edu> Date: Tue, 7 Oct 2008 02:38:12 +0000 Subject: [PATCH] Make Python example output identical to C++ and Java by removing redundant spaces. --- examples/list_people.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/list_people.py b/examples/list_people.py index 76f4bf1..f9f36b9 100755 --- a/examples/list_people.py +++ b/examples/list_people.py @@ -15,11 +15,11 @@ def ListPeople(address_book): for phone_number in person.phone: if phone_number.type == addressbook_pb2.Person.MOBILE: - print " Mobile phone #: ", + print " Mobile phone #:", elif phone_number.type == addressbook_pb2.Person.HOME: - print " Home phone #: ", + print " Home phone #:", elif phone_number.type == addressbook_pb2.Person.WORK: - print " Work phone #: ", + print " Work phone #:", print phone_number.number # Main procedure: Reads the entire address book from a file and prints all -- GitLab