From 42814f0124c38cf4d577b72780b8da612d015d5f Mon Sep 17 00:00:00 2001 From: Andy Kluger Date: Mon, 24 Feb 2020 15:19:57 -0500 Subject: [PATCH] Fix docs: comment stripping comes _after_ line continuation processing --- docs/html/reference/pip_install.rst | 2 +- news/f7e1f2af-8382-450d-aa7e-9357fcd7c645.trivial | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 news/f7e1f2af-8382-450d-aa7e-9357fcd7c645.trivial diff --git a/docs/html/reference/pip_install.rst b/docs/html/reference/pip_install.rst index c81e43ba4..538f0ef89 100644 --- a/docs/html/reference/pip_install.rst +++ b/docs/html/reference/pip_install.rst @@ -149,7 +149,7 @@ treated as a comment. A line ending in an unescaped ``\`` is treated as a line continuation and the newline following it is effectively ignored. -Comments are stripped *before* line continuations are processed. +Comments are stripped *after* line continuations are processed. To interpret the requirements file in UTF-8 format add a comment ``# -*- coding: utf-8 -*-`` to the first or second line of the file. diff --git a/news/f7e1f2af-8382-450d-aa7e-9357fcd7c645.trivial b/news/f7e1f2af-8382-450d-aa7e-9357fcd7c645.trivial new file mode 100644 index 000000000..e69de29bb