From a591d270ae22004804caaa3f19d5c116ced1b4ff Mon Sep 17 00:00:00 2001 From: Adam Chainz Date: Sun, 29 May 2016 15:04:33 +0100 Subject: [PATCH] Convert readthedocs link for their .org -> .io migration for hosted projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As per their email ‘Changes to project subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified. --- docs/guide/coroutines.rst | 2 +- docs/releases/v4.2.0.rst | 2 +- tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/coroutines.rst b/docs/guide/coroutines.rst index 9c5745dc..2fefcb4b 100644 --- a/docs/guide/coroutines.rst +++ b/docs/guide/coroutines.rst @@ -242,7 +242,7 @@ Looping is tricky with coroutines since there is no way in Python to ``yield`` on every iteration of a ``for`` or ``while`` loop and capture the result of the yield. Instead, you'll need to separate the loop condition from accessing the results, as in this example -from `Motor `_:: +from `Motor `_:: import motor db = motor.MotorClient().test diff --git a/docs/releases/v4.2.0.rst b/docs/releases/v4.2.0.rst index 10f475c0..d9484379 100644 --- a/docs/releases/v4.2.0.rst +++ b/docs/releases/v4.2.0.rst @@ -23,7 +23,7 @@ New modules: `tornado.locks` and `tornado.queues` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ These modules provide classes for coordinating coroutines, merged from -`Toro `_. +`Toro `_. To port your code from Toro's queues to Tornado 4.2, import `.Queue`, `.PriorityQueue`, or `.LifoQueue` from `tornado.queues` instead of from diff --git a/tox.ini b/tox.ini index 6f74a745..6f8ba767 100644 --- a/tox.ini +++ b/tox.ini @@ -1,4 +1,4 @@ -# Tox (http://tox.readthedocs.org) is a tool for running tests +# Tox (https://tox.readthedocs.io) is a tool for running tests # in multiple virtualenvs. This configuration file will run the tornado # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory.