New submission from July Tikhonov <july.t...@gmail.com>:

>>> from nntplib import NNTP
>>> with nntplib.NNTP('news.gmane.org') as n:

will not work. It should be

>>> import nntplib
>>> with nntplib.NNTP('news.gmane.org') as n:

or

>>> from nntplib import NNTP
>>> with NNTP('news.gmane.org') as n:

----------
assignee: docs@python
components: Documentation
files: whatsnew.3.3.nntplib.example.diff
keywords: patch
messages: 140228
nosy: docs@python, july
priority: normal
severity: normal
status: open
title: whatsnew/3.3: error in example about nntplib
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file22638/whatsnew.3.3.nntplib.example.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12547>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to