[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Simon Hayward

New submission from Simon Hayward simonhayw...@gmail.com:

HOWTOs - Argparse Tutorial, the code example will raise a syntax error when 
run. A trailing python3 reference (if called as a function): 'end=', to 
suppresses a newline remains.

print {}^{} == .format(args.x, args.y), end=

Should read:

print {}^{} ==.format(args.x, args.y),

--
assignee: docs@python
components: Documentation
files: argparse-howto.patch
keywords: patch
messages: 165381
nosy: docs@python, simon.hayward
priority: normal
severity: normal
status: open
title: HOWTOs Argparse tutorial - code example raises SyntaxError
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file26374/argparse-howto.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15345
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Tshepang Lekhonkhobe

Changes by Tshepang Lekhonkhobe tshep...@gmail.com:


--
nosy: +tshepang

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15345
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset de18c4470ff1 by Ezio Melotti in branch '2.7':
#15345: fix SyntaxError in argparse tutorial example.  Patch by Simon Hayward.
http://hg.python.org/cpython/rev/de18c4470ff1

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15345
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com added the comment:

Fixed, thanks for the patch!

--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15345
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com