Minor bug on http://docs.python.org/2/tutorial/interpreter.html
Section 2.2.5 shows the following demo code:
import site site.getusersitepackages() '/home/user/.local/lib/python3.2/site-packages'
The path provided is for python3, not 2. Thanks for the docs, Hugh
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 27.07.2013 20:13, schrieb Hugh O'Brien:
Section 2.2.5 shows the following demo code:
import site site.getusersitepackages() '/home/user/.local/lib/python3.2/site-packages'
The path provided is for python3, not 2.
Thanks for the docs,
Hugh
Hi Hugh, thanks for the report, this is now fixed and will be online soon. cheers, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) iEYEARECAAYFAlJRKMcACgkQN9GcIYhpnLDdxACbBC1QmCzzVKihphDQL60q4miS vfcAmgJB3mK6Jcr2fif17q0PAbW/IcAS =1ufM -----END PGP SIGNATURE-----
participants (2)
-
Georg Brandl
-
Hugh O'Brien