mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Punctuation fixes in docstrings.
This commit is contained in:
parent
f6c9ba8457
commit
8d326b8581
1 changed files with 3 additions and 3 deletions
|
|
@ -43,13 +43,13 @@ ARCHIVE_FORMATS = [
|
||||||
]
|
]
|
||||||
|
|
||||||
class MyURLopener(urllib.FancyURLopener):
|
class MyURLopener(urllib.FancyURLopener):
|
||||||
"""Like FancyURLOpener, but we do want to get errors as exceptions"""
|
"""Like FancyURLOpener, but we do want to get errors as exceptions."""
|
||||||
def http_error_default(self, url, fp, errcode, errmsg, headers):
|
def http_error_default(self, url, fp, errcode, errmsg, headers):
|
||||||
urllib.URLopener.http_error_default(self, url, fp, errcode, errmsg, headers)
|
urllib.URLopener.http_error_default(self, url, fp, errcode, errmsg, headers)
|
||||||
|
|
||||||
class PimpPreferences:
|
class PimpPreferences:
|
||||||
"""Container for per-user preferences, such as the database to use
|
"""Container for per-user preferences, such as the database to use
|
||||||
and where to install packages"""
|
and where to install packages."""
|
||||||
|
|
||||||
def __init__(self,
|
def __init__(self,
|
||||||
flavorOrder=None,
|
flavorOrder=None,
|
||||||
|
|
@ -119,7 +119,7 @@ class PimpDatabase:
|
||||||
"""Class representing a pimp database. It can actually contain
|
"""Class representing a pimp database. It can actually contain
|
||||||
information from multiple databases through inclusion, but the
|
information from multiple databases through inclusion, but the
|
||||||
toplevel database is considered the master, as its maintainer is
|
toplevel database is considered the master, as its maintainer is
|
||||||
"responsible" for the contents"""
|
"responsible" for the contents."""
|
||||||
|
|
||||||
def __init__(self, prefs):
|
def __init__(self, prefs):
|
||||||
self._packages = []
|
self._packages = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue