From 0acafd84d2bb09f19af0652d012a9ff67143644b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Tomsa?= Date: Mon, 5 Aug 2019 18:13:19 +0200 Subject: [PATCH 1/2] Remove misleading code comment from docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the Specifying Versions section of the Basics documentation, there is a misleading code comment saying that requests~=1.2 is equivalent to requests~=1.2.0, which it isn’t. ~=1.2 is equivalent to >=1.2,<2.0, but ~=1.2.0 is equivalent to >=1.2.0,<1.3. Fixed by removing the comment. --- docs/basics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basics.rst b/docs/basics.rst index a78df25468..677a4716b8 100644 --- a/docs/basics.rst +++ b/docs/basics.rst @@ -188,7 +188,7 @@ You can specify versions of a package using the `Semantic Versioning scheme Date: Mon, 5 Aug 2019 18:27:02 +0200 Subject: [PATCH 2/2] Add new item for the changelog Added a pull request description file to the news folder. Marked as trivial. --- news/3885.trivial.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/3885.trivial.rst diff --git a/news/3885.trivial.rst b/news/3885.trivial.rst new file mode 100644 index 0000000000..7782e0c97f --- /dev/null +++ b/news/3885.trivial.rst @@ -0,0 +1 @@ +Remove a misleading code comment from Specifying Versions documentation.