[issue16607] Bad examples in documentation

2012-12-13 Thread John Hampton
John Hampton added the comment: Ok, but perhaps in order to aviod confusion the documentation could be changed so that the examples are complete or have an additional new line as needed. Well, they are complete. And it's only an issue with the interpreter. If you were to copy and paste the e

[issue16607] Bad examples in documentation

2012-12-13 Thread myreallycoolname
myreallycoolname added the comment: Ok, but perhaps in order to aviod confusion the documentation could be changed so that the examples are complete or have an additional new line as needed. -- ___ Python tracker

[issue16607] Bad examples in documentation

2012-12-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue16607] Bad examples in documentation

2012-12-13 Thread Daniel Urban
Daniel Urban added the comment: As John Hampton have explained it, the documentation is actually correct. -- status: open -> closed ___ Python tracker ___ ___

[issue16607] Bad examples in documentation

2012-12-12 Thread John Hampton
John Hampton added the comment: The documentation is correct. The problem that you seem to be having are due to copy and pasting in the interpreter. The source of you first error is that after you copy >>> def scope_test(): ... def do_local(): ... spam = "local spam" ... def d

[issue16607] Bad examples in documentation

2012-12-12 Thread myreallycoolname
myreallycoolname added the comment: I am updating my bug report unfortunatly I am unable to give you a specific link due to the fact that I can not find the python3.2 documentation online. I do assure you that the docs from my computer are for python3.2 (as I have no other docs installed.) To

[issue16607] Bad examples in documentation

2012-12-04 Thread Daniel Urban
Daniel Urban added the comment: Both work fine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue16607] Bad examples in documentation

2012-12-04 Thread myreallycoolname
> Sent: 12/04/12 04:12 PM > To: do...@mail.com > Subject: [issue16607] Bad examples in documentation > > myreallycoolname added the comment: > > Sorry about that. You will unfortunatly have to wait as I'm not on a computer > that has python installed currently. > > &g

[issue16607] Bad examples in documentation

2012-12-04 Thread myreallycoolname
myreallycoolname added the comment: Sorry about that. You will unfortunatly have to wait as I'm not on a computer that has python installed currently. > - Original Message - > From: Daniel Urban > Sent: 12/04/12 02:00 PM > To: do...@mail.com > Subject: [issue16

[issue16607] Bad examples in documentation

2012-12-04 Thread Georg Brandl
Georg Brandl added the comment: I had a look and can't see an example in the "Classes" doc where self might not be defined. Please reopen with a concrete pointer if you think otherwise. -- nosy: +georg.brandl resolution: -> invalid status: open -> closed _

[issue16607] Bad examples in documentation

2012-12-04 Thread Daniel Urban
Daniel Urban added the comment: Could you please point to a specific example which is incorrect? Thank you. -- nosy: +daniel.urban ___ Python tracker ___

[issue16607] Bad examples in documentation

2012-12-04 Thread myreallycoolname
New submission from myreallycoolname: The doumentation examples imn the tutorial in python3.2 are at lest in part invalid. I was having trouble understanding the documentation so I pulled out my pthony interperator and pluged in one of tyhe examples. Just as I thought self was not defined. You