]> granicus.if.org Git - python/commitdiff
Fix typos in class names
authorÉric Araujo <merwok@netwok.org>
Wed, 1 Jun 2011 12:41:11 +0000 (14:41 +0200)
committerÉric Araujo <merwok@netwok.org>
Wed, 1 Jun 2011 12:41:11 +0000 (14:41 +0200)
Lib/packaging/pypi/simple.py
Lib/packaging/pypi/xmlrpc.py

index 983d4773de8cc84f012354cb596b9f3039305937..c492179874464396d0f89be0f8487a281c5610b3 100644 (file)
@@ -1,6 +1,6 @@
 """Spider using the screen-scraping "simple" PyPI API.
 
-This module contains the class SimpleIndexCrawler, a simple spider that
+This module contains the class Crawler, a simple spider that
 can be used to find and retrieve distributions from a project index
 (like the Python Package Index), using its so-called simple API (see
 reference implementation available at http://pypi.python.org/simple/).
@@ -178,7 +178,7 @@ class Crawler(BaseClient):
 
     def get_releases(self, requirements, prefer_final=None,
                      force_update=False):
-        """Search for releases and return a ReleaseList object containing
+        """Search for releases and return a ReleasesList object containing
         the results.
         """
         predicate = get_version_predicate(requirements)
index 7a9f6cc7137d38eb79b10216239c37bc5724785b..befdf6dbbb94788916b2edae2e683f3e023ec547 100644 (file)
@@ -31,11 +31,11 @@ class Client(BaseClient):
     If no server_url is specified, use the default PyPI XML-RPC URL,
     defined in the DEFAULT_XMLRPC_INDEX_URL constant::
 
-        >>> client = XMLRPCClient()
+        >>> client = Client()
         >>> client.server_url == DEFAULT_XMLRPC_INDEX_URL
         True
 
-        >>> client = XMLRPCClient("http://someurl/")
+        >>> client = Client("http://someurl/")
         >>> client.server_url
         'http://someurl/'
     """
@@ -69,7 +69,7 @@ class Client(BaseClient):
         informations (eg. make a new XML-RPC call).
         ::
 
-            >>> client = XMLRPCClient()
+            >>> client = Client()
             >>> client.get_releases('Foo')
             ['1.1', '1.2', '1.3']
 
@@ -189,7 +189,7 @@ class Client(BaseClient):
 
         If no server proxy is defined yet, creates a new one::
 
-            >>> client = XmlRpcClient()
+            >>> client = Client()
             >>> client.proxy()
             <ServerProxy for python.org/pypi>