summaryrefslogtreecommitdiffstats
path: root/Lib/nntplib.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-01-08 15:48:33 (GMT)
committerGitHub <noreply@github.com>2020-01-08 15:48:33 (GMT)
commitb24e4fac03409c4f845758d7ed884c5a99368493 (patch)
tree41b4a1df613d8d2a2fa3ef250898cfc62df8adce /Lib/nntplib.py
parent39a5c889d30d03a88102e56f03ee0c95db198fb3 (diff)
downloadcpython-b24e4fac03409c4f845758d7ed884c5a99368493.zip
cpython-b24e4fac03409c4f845758d7ed884c5a99368493.tar.gz
cpython-b24e4fac03409c4f845758d7ed884c5a99368493.tar.bz2
bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903)
(cherry picked from commit 2e6a8efa837410327b593dc83c57492253b1201e) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r--Lib/nntplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py
index 1b7e83a..9036f36 100644
--- a/Lib/nntplib.py
+++ b/Lib/nntplib.py
@@ -1107,7 +1107,7 @@ if __name__ == '__main__':
nntplib built-in demo - display the latest articles in a newsgroup""")
parser.add_argument('-g', '--group', default='gmane.comp.python.general',
help='group to fetch messages from (default: %(default)s)')
- parser.add_argument('-s', '--server', default='news.gmane.org',
+ parser.add_argument('-s', '--server', default='news.gmane.io',
help='NNTP server hostname (default: %(default)s)')
parser.add_argument('-p', '--port', default=-1, type=int,
help='NNTP port number (default: %s / %s)' % (NNTP_PORT, NNTP_SSL_PORT))