There was an error while loading. Please reload this page.
1 parent 3218520 commit 72995c5Copy full SHA for 72995c5
Doc/library/site.rst
@@ -223,6 +223,13 @@ Module contents
223
.. versionadded:: 3.2
224
225
226
+.. _site-commandline:
227
+
228
+Command Line Interface
229
+----------------------
230
231
+.. program:: site
232
233
The :mod:`site` module also provides a way to get the user directories from the
234
command line:
235
@@ -231,8 +238,6 @@ command line:
238
$ python3 -m site --user-site
239
/home/user/.local/lib/python3.3/site-packages
240
-.. program:: site
-
236
241
If it is called without arguments, it will print the contents of
237
242
:data:`sys.path` on the standard output, followed by the value of
243
:data:`USER_BASE` and whether the directory exists, then the same thing for
0 commit comments