Skip to content

Commit 8a89f2b

Browse files
Backport PR #52519 on branch 2.0.x (DOC: Fix permission denied error in docbuild) (#52522)
Backport PR #52519: DOC: Fix permission denied error in docbuild Co-authored-by: Patrick Hoefler <[email protected]>
1 parent 797ff80 commit 8a89f2b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/source/whatsnew/v1.3.0.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ headers included in the request. This can be used to control the User-Agent
3636
header or send other custom headers (:issue:`36688`).
3737
For example:
3838

39-
.. ipython:: python
39+
.. code-block:: ipython
4040
41-
headers = {"User-Agent": "pandas"}
42-
df = pd.read_csv(
43-
"https://download.bls.gov/pub/time.series/cu/cu.item",
44-
sep="\t",
45-
storage_options=headers
46-
)
41+
In [1]: headers = {"User-Agent": "pandas"}
42+
In [2]: df = pd.read_csv(
43+
...: "https://download.bls.gov/pub/time.series/cu/cu.item",
44+
...: sep="\t",
45+
...: storage_options=headers
46+
...: )
4747
4848
.. _whatsnew_130.enhancements.read_to_xml:
4949

0 commit comments

Comments
 (0)