[docs] 答复: A small mistake in tutorial of docs.python 3.4

john wu john.wu at bcdtravel.cn
Mon Oct 19 03:16:02 CEST 2015

Hi Zach,

I'm so sorry for the email with double question.
When I resend the email to you, I found the mistake you told me. But I can't withdraw the last email. Hope it will not disturb you a lot.

Thanks for your help again!

Thank you.
Best regards,
John  Wu
T +86 6132 8586

发件人: zachary.ware at gmail.com [mailto:zachary.ware at gmail.com] 代表 Zachary Ware
发送时间: 2015年10月16日 23:29
收件人: docs at python.org
抄送: john wu
主题: Re: [docs] A small mistake in tutorial of docs.python 3.4

Hi John,

On Thu, Oct 8, 2015 at 6:51 PM, john wu <john.wu at bcdtravel.cn> wrote:
> The space between “C>” and “print(‘Yuck!”) makes an error, “unexpected 
> indent”.

Look carefully: the unexpected indent actually came from a mis-copy when you assigned to sys.ps1.  The example shows "sys.ps1 = 'C> '"
(note the space after the >), while in your trial you did "sys.ps1 = 'C>'" (no space), then added the space when typing in the next line of the example.  If you add the space in the assignment to sys.ps1, as in the example, there is no error.

Hope this helps,

More information about the docs mailing list