Skip to content

Commit

Permalink
Fix links in section headings
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Mar 13, 2022
1 parent 1a79345 commit a6a5187
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 48 deletions.
92 changes: 46 additions & 46 deletions pep-0249.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Post-History:
Replaces: 248


`Introduction`_
===============
Introduction
============

This API has been defined to encourage similarity between the Python
modules that are used to access databases. By doing this, we hope to
Expand All @@ -35,11 +35,11 @@ encouraged to use this version of the specification as basis for new
interfaces.


`Module Interface`_
===================
Module Interface
=================

`Constructors`_
---------------
Constructors
------------

Access to the database is made available through connection
objects. The module must provide the following constructor for these:
Expand All @@ -53,8 +53,8 @@ objects. The module must provide the following constructor for these:
which are database dependent. [1]_


`Globals`_
----------
Globals
-------

These module globals must be defined:

Expand Down Expand Up @@ -107,8 +107,8 @@ These module globals must be defined:
============ ==============================================================


`Exceptions`_
-------------
Exceptions
----------

The module should make all error information available through these
exceptions or subclasses thereof:
Expand Down Expand Up @@ -220,14 +220,14 @@ This is the exception inheritance layout::

.. _Connection:

`Connection Objects`_
=====================
Connection Objects
==================

Connection objects should respond to the following methods.


`Connection methods`_
---------------------
Connection methods
------------------

.. .close():
.. _Connection.close:
Expand Down Expand Up @@ -283,8 +283,8 @@ Connection objects should respond to the following methods.

.. _Cursor:

`Cursor Objects`_
=================
Cursor Objects
==============

These objects represent a database cursor, which is used to manage the
context of a fetch operation. Cursors created from the same connection
Expand All @@ -297,8 +297,8 @@ transaction support is implemented (see also the connection's
Cursor Objects should respond to the following methods and attributes.


`Cursor attributes`_
--------------------
Cursor attributes
-----------------

.. _.description:

Expand Down Expand Up @@ -344,8 +344,8 @@ Cursor Objects should respond to the following methods and attributes.
latter case to have the object return ``None`` instead of -1.


`Cursor methods`_
-----------------
Cursor methods
--------------

.. _.callproc:
.. _.callproc():
Expand Down Expand Up @@ -561,8 +561,8 @@ Cursor Objects should respond to the following methods and attributes.

.. _Type Objects:

`Type Objects and Constructors`_
================================
Type Objects and Constructors
=============================

Many databases need to have the input in a particular format for
binding to an operation's input parameters. For example, if an input
Expand Down Expand Up @@ -682,8 +682,8 @@ on input and output.

.. _Implementation Hints:

`Implementation Hints for Module Authors`_
==========================================
Implementation Hints for Module Authors
=======================================

* Date/time objects can be implemented as `Python datetime module
<http://docs.python.org/library/datetime.html>`__ objects (available
Expand Down Expand Up @@ -769,8 +769,8 @@ on input and output.
API to create the exception objects.


`Optional DB API Extensions`_
=============================
Optional DB API Extensions
==========================

During the lifetime of DB API 2.0, module authors have often extended
their implementations beyond what is required by this DB API
Expand Down Expand Up @@ -934,8 +934,8 @@ Cursor\ `.lastrowid`_
*Warning Message:* "DB-API extension cursor.lastrowid used"


`Optional Error Handling Extensions`_
=====================================
Optional Error Handling Extensions
==================================

The core DB API specification only introduces a set of exceptions
which can be raised to report errors to the user. In some cases,
Expand Down Expand Up @@ -981,8 +981,8 @@ Cursors should inherit the ``.errorhandler`` setting from their
connection objects at cursor creation time.


`Optional Two-Phase Commit Extensions`_
=======================================
Optional Two-Phase Commit Extensions
====================================

Many databases have support for two-phase commit (TPC) which allows
managing transactions across multiple database connections and other
Expand All @@ -994,8 +994,8 @@ API should be implemented. NotSupportedError_ should be raised, if the
database backend support for two-phase commit can only be checked at
run-time.

`TPC Transaction IDs`_
----------------------
TPC Transaction IDs
-------------------

As many databases follow the XA specification, transaction IDs are
formed from three components:
Expand Down Expand Up @@ -1034,8 +1034,8 @@ Transaction IDs are created with the `.xid()`_ Connection method:
represent transaction IDs with tuples rather than a custom object.


`TPC Connection Methods`_
-------------------------
TPC Connection Methods
----------------------

.. _.tpc_*:
.. _.tpc_*():
Expand Down Expand Up @@ -1117,8 +1117,8 @@ Transaction IDs are created with the `.xid()`_ Connection method:



`Frequently Asked Questions`_
=============================
Frequently Asked Questions
==========================

The database SIG often sees reoccurring questions about the DB API
specification. This section covers some of the issues people sometimes
Expand Down Expand Up @@ -1153,8 +1153,8 @@ between databases and makes writing portable code impossible.



`Major Changes from Version 1.0 to Version 2.0`_
================================================
Major Changes from Version 1.0 to Version 2.0
=============================================

The Python Database API 2.0 introduces a few major changes compared to
the 1.0 version. Because some of these changes will cause existing DB
Expand Down Expand Up @@ -1197,8 +1197,8 @@ Post-publishing additions to the DB API 2.0 specification:
functionality were specified.


`Open Issues`_
==============
Open Issues
===========

Although the version 2.0 specification clarifies a lot of questions
that were left open in the 1.0 version, there are still some remaining
Expand All @@ -1213,8 +1213,8 @@ issues which should be addressed in future versions:



`Footnotes`_
============
Footnotes
=========

.. [1] As a guideline the connection constructor parameters should be
implemented as keyword parameters for more intuitive use and
Expand Down Expand Up @@ -1298,8 +1298,8 @@ issues which should be addressed in future versions:
of the ``.rowcount`` attribute.


`Acknowledgements`_
===================
Acknowledgements
================

Many thanks go to Andrew Kuchling who converted the Python Database
API Specification 2.0 from the original HTML format into the PEP
Expand All @@ -1312,7 +1312,7 @@ Many thanks to Daniele Varrazzo for converting the specification from
text PEP format to ReST PEP format, which allows linking to various
parts.

`Copyright`_
============
Copyright
=========

This document has been placed in the Public Domain.
4 changes: 2 additions & 2 deletions pep-0512.txt
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ Work for this is being tracked at
https://github.com/python/core-workflow/issues/7.


Create https://git.python.org
'''''''''''''''''''''''''''''
Create ``https://git.python.org``
'''''''''''''''''''''''''''''''''

Just as hg.python.org [#h.p.o]_ currently points to the Mercurial
repository for Python, git.python.org should do the equivalent for
Expand Down

0 comments on commit a6a5187

Please sign in to comment.