Skip to content

Commit a537d39

Browse files
author
James William Pye
committed
Fix docformat and the remove reference to require-ssl.
1 parent 3e2a1ee commit a537d39

6 files changed

Lines changed: 8 additions & 17 deletions

File tree

postgresql/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
#'PGGSSLIB' : 'gsslib',
2525
#'PGLOCALEDIR' : 'localedir',
2626

27-
__docformat__ = 'reStructured Text'
27+
__docformat__ = 'reStructuredText'

postgresql/documentation/__init__.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,9 @@
33
# http://python.projects.postgresql.org
44
##
55
r"""
6-
Contents:
7-
8-
Index
9-
`postgresql.documentation.index`
10-
11-
Driver Basics
12-
`postgresql.documentation.driver_basics`
13-
14-
Gotchas
15-
`postgresql.documentation.gotchas`
6+
See: `postgresql.documentation.index`
167
"""
17-
__docformat__ = 'reStructured Text'
8+
__docformat__ = 'reStructuredText'
189

1910
# -m rejects this, so make the .index module the, well, index.
2011
if __name__ == '__main__':

postgresql/documentation/driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@
611611
612612
"""
613613

614-
__docformat__ = 'reStructured Text'
614+
__docformat__ = 'reStructuredText'
615615
if __name__ == '__main__':
616616
import sys
617617
if (sys.argv + [None])[1] == 'dump':

postgresql/documentation/gotchas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
;)
6060
"""
6161

62-
__docformat__ = 'reStructured Text'
62+
__docformat__ = 'reStructuredText'
6363
if __name__ == '__main__':
6464
import sys
6565
if (sys.argv + [None])[1] == 'dump':

postgresql/documentation/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
Of course, if DB-API 2.0 is desired, the module is located at
4040
`postgresql.driver.dbapi20`
4141
"""
42-
__docformat__ = 'reStructured Text'
42+
__docformat__ = 'reStructuredText'
4343
if __name__ == '__main__':
4444
import sys
4545
if (sys.argv + [None])[1] == 'dump':

postgresql/documentation/pg_python.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
--unix=FILE_SYSTEM_PATH
2929
path to filesystem socket
3030
--ssl-mode=SSLMODE SSL rules for connectivity
31-
--require-ssl require an SSL connection (equivalent to --ssl-mode=require)
31+
disable, allow, require, or prefer. prefer is the default.
3232
--role=ROLE run operation as the role
3333
-s NAME=VALUE, --setting=NAME=VALUE
3434
run-time parameters to set upon connecting
@@ -77,8 +77,8 @@
7777
\set Configure environment variables. \set without arguments to show all
7878
\x Execute the Python command within this process.
7979
"""
80-
__docformat__ = 'reStructured Text'
8180

81+
__docformat__ = 'reStructuredText'
8282
if __name__ == '__main__':
8383
import sys
8484
if (sys.argv + [None])[1] == 'dump':

0 commit comments

Comments
 (0)