File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ imagesize<1.5
1111Jinja2<3.2
1212packaging<24
1313# Pygments==2.15.0 breaks CI
14- Pygments<2.16,! =2.15.0
14+ Pygments> =2.15,<3
1515requests<3
1616snowballstemmer<3
1717sphinxcontrib-applehelp<1.1
Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ Doc/reference/datamodel.rst
171171Doc/reference/expressions.rst
172172Doc/reference/import.rst
173173Doc/reference/simple_stmts.rst
174- Doc/tutorial/appendix.rst
175174Doc/tutorial/classes.rst
176175Doc/tutorial/controlflow.rst
177176Doc/tutorial/datastructures.rst
Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ in the script::
101101The Customization Modules
102102-------------------------
103103
104- Python provides two hooks to let you customize it: :mod : `sitecustomize ` and
105- :mod : `usercustomize `. To see how it works, you need first to find the location
104+ Python provides two hooks to let you customize it: :index : `sitecustomize ` and
105+ :index : `usercustomize `. To see how it works, you need first to find the location
106106of your user site-packages directory. Start Python and run this code::
107107
108108 >>> import site
@@ -113,9 +113,9 @@ Now you can create a file named :file:`usercustomize.py` in that directory and
113113put anything you want in it. It will affect every invocation of Python, unless
114114it is started with the :option: `-s ` option to disable the automatic import.
115115
116- :mod : `sitecustomize ` works in the same way, but is typically created by an
116+ :index : `sitecustomize ` works in the same way, but is typically created by an
117117administrator of the computer in the global site-packages directory, and is
118- imported before :mod : `usercustomize `. See the documentation of the :mod: `site `
118+ imported before :index : `usercustomize `. See the documentation of the :mod: `site `
119119module for more details.
120120
121121
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ def main(regrtest_args):
2929 args = [sys .executable ,
3030 '-u' , # Unbuffered stdout and stderr
3131 '-W' , 'default' , # Warnings set to 'default'
32+ '-W' , 'error::DeprecationWarning' , # TODO
3233 '-bb' , # Warnings about bytes/bytearray
3334 ]
3435
You can’t perform that action at this time.
0 commit comments