summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-05-22 13:22:45 +0200
committerClaude Paroz <claude@2xlibre.net>2012-05-22 13:22:45 +0200
commitcafa5bf4f48df500b7c191b01f4ae73f527e6166 (patch)
tree7a2b2d7e35de22043c5bd8e603d463d90ad4feca /docs
parented7ea5a6020cb3e09a7f05c4206a11196766bbd2 (diff)
Replaced print statement by print function in new install instructions.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/install.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/install.txt b/docs/topics/install.txt
index d7f2528fc8..5e2eefe139 100644
--- a/docs/topics/install.txt
+++ b/docs/topics/install.txt
@@ -165,7 +165,7 @@ following at your shell prompt (not the interactive Python prompt):
.. code-block:: bash
- python -c "import sys; sys.path = sys.path[1:]; import django; print django.__path__"
+ python -c "import sys; sys.path = sys.path[1:]; import django; print(django.__path__)"
.. _install-django-code:
@@ -339,7 +339,7 @@ system, and the location in which Python was installed. To find your system's
.. code-block:: bash
- python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
+ python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
(Note that this should be run from a shell prompt, not a Python interactive
prompt.)