From 0f6e5d7ddfd21878dfa11bfd9e9bfb5cc782b56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 6 Jul 2016 16:29:42 +0300 Subject: [PATCH] Doc and comment link fixes --- INSTALL | 2 +- _mysql_exceptions.py | 2 +- doc/FAQ.rst | 2 +- doc/user_guide.rst | 4 ++-- setup.cfg | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/INSTALL b/INSTALL index 9caf5bcc..616b5902 100644 --- a/INSTALL +++ b/INSTALL @@ -175,7 +175,7 @@ Packaged as `mysql-python`_. :: # emerge mysql-python # emerge zmysqlda # if you use Zope -.. _`mysql-python`: http://packages.gentoo.org/search/?sstring=mysql-python +.. _`mysql-python`: https://packages.gentoo.org/packages/search?q=mysql-python BSD diff --git a/_mysql_exceptions.py b/_mysql_exceptions.py index 3241e740..74b765a7 100644 --- a/_mysql_exceptions.py +++ b/_mysql_exceptions.py @@ -2,7 +2,7 @@ These classes are dictated by the DB API v2.0: - http://www.python.org/topics/database/DatabaseAPI-2.0.html + https://www.python.org/dev/peps/pep-0249/ """ try: diff --git a/doc/FAQ.rst b/doc/FAQ.rst index 79e828a0..ab06a212 100644 --- a/doc/FAQ.rst +++ b/doc/FAQ.rst @@ -71,7 +71,7 @@ Solutions: * reconfigure your system so that the MySQL libraries are on the default loader path. In Linux, you edit /etc/ld.so.conf and run ldconfig. For Solaris, see `Linker and Libraries Guide - `_. + `_. ImportError: ld.so.1: python: fatal: libmtmalloc.so.1: DF_1_NOOPEN tagged object may not be dlopen()'ed diff --git a/doc/user_guide.rst b/doc/user_guide.rst index 07016710..b39a230a 100644 --- a/doc/user_guide.rst +++ b/doc/user_guide.rst @@ -152,7 +152,7 @@ This does what the previous example does, but gets the username and password and other parameters from ~/.my.cnf (UNIX-like systems). Read about `option files`_ for more details. -.. _`option files`: http://dev.mysql.com/doc/mysql/en/Option_files.html +.. _`option files`: http://dev.mysql.com/doc/refman/en/option-files.html So now you have an open connection as ``db`` and want to do a query. Well, there are no cursors in MySQL, and no parameter @@ -366,7 +366,7 @@ connect(parameters...) an exception is raised. *This must be a keyword parameter.* -.. _mysql_ssl_set: http://dev.mysql.com/doc/mysql/en/mysql_ssl_set.html +.. _mysql_ssl_set: http://dev.mysql.com/doc/refman/en/mysql-ssl-set.html apilevel diff --git a/setup.cfg b/setup.cfg index 5b21f6d2..fea65ab0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ test_suite = nose.collector [build_ext] ## Only uncomment/set these if the default configuration doesn't work -## Also see http://docs.python.org/dist/setup-config.html +## Also see https://docs.python.org/distutils/configfile.html # include-dirs = ? # library-dirs = ? # link-objects = ?