[Python-bugs-list] [ python-Feature Requests-512497 ] multi-line print statement

noreply@sourceforge.net noreply@sourceforge.net
Sat, 16 Feb 2002 16:19:04 -0800


Feature Requests item #512497, was opened at 2002-02-03 14:15
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=512497&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: frobozz electric (frobozzelectric)
Assigned to: Nobody/Anonymous (nobody)
Summary: multi-line print statement

Initial Comment:
Similar to the multi-line comment block suggestion,
instead of using \ to say the line continues use
print:
<indent>"line 1"
<indent>"line 2"
...
<indent>"line n"

Ok, then...thanks

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-02-16 16:19

Message:
Logged In: YES 
user_id=21627

Can you specify more precisely how this feature would work?
E.g. would it be legal to write

print:
   "foo"
   raise "Done"

or

print:
  for i in range(10):
    "bar"

If so, what would be the meaning of the latter one?

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=355470&aid=512497&group_id=5470