[New-bugs-announce] [issue10304] error in tutorial triple-string example

Malte Helmert report at bugs.python.org
Thu Nov 4 01:28:23 CET 2010


New submission from Malte Helmert <helmert at informatik.uni-freiburg.de>:

>From Section 3.1.2 of the tutorial:

  print("""
  Usage: thingy [OPTIONS]
       -h                        Display this usage message
       -H hostname               Hostname to connect to
  """)

  produces the following output:

  _____________________________________________________________
  Usage: thingy [OPTIONS]
       -h                        Display this usage message
       -H hostname               Hostname to connect to
  _____________________________________________________________


That doesn't quite match the behaviour: there should be an extra blank line prepended to the output.

----------
assignee: docs at python
components: Documentation
messages: 120364
nosy: docs at python, maltehelmert
priority: normal
severity: normal
status: open
title: error in tutorial triple-string example
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10304>
_______________________________________


More information about the New-bugs-announce mailing list