Glenn Linderman <v+pyt...@g.nevcal.com> added the comment:

On 3/12/2011 7:11 PM, R. David Murray wrote:
> R. David Murray<rdmur...@bitdance.com>  added the comment:
>
> I've opened issue 11479 with a proposed patch to the tutorial along the lines 
> suggested by Graham.

Which is good, for people that use the tutorial.  I jump straight to the 
reference guide, usually, because of so many years of experience with 
other languages.  But I was surprised you used .strip() instead of [:-1] 
which is shorter and I would expect it to be more efficient also.

----------
Added file: http://bugs.python.org/file21098/unnamed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1271>
_______________________________________
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#330033" bgcolor="#ffffff">
    On 3/12/2011 7:11 PM, R. David Murray wrote:
    <blockquote
cite="mid:1299985866.81.0.0395618916066.issue1...@psf.upfronthosting.co.za"
      type="cite">
      <pre wrap="">
R. David Murray <a class="moz-txt-link-rfc2396E" 
href="mailto:rdmur...@bitdance.com";>&lt;rdmur...@bitdance.com&gt;</a> added the 
comment:

I've opened issue 11479 with a proposed patch to the tutorial along the lines 
suggested by Graham.
</pre>
    </blockquote>
    <br>
    Which is good, for people that use the tutorial.  I jump straight to
    the reference guide, usually, because of so many years of experience
    with other languages.  But I was surprised you used .strip() instead
    of [:-1] which is shorter and I would expect it to be more efficient
    also.<br>
  </body>
</html>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to