dagutils: fix docstrings for singleton internalize/externalize
authorMads Kiilerich <madski@unity3d.com>
Fri, 15 Aug 2014 19:43:32 +0200
changeset 22387 ce8cea923a6c
parent 22386 54e614a297ac
child 22388 0f0b204b399c
dagutils: fix docstrings for singleton internalize/externalize
mercurial/dagutil.py
--- a/mercurial/dagutil.py	Sun Aug 31 07:45:50 2014 -0700
+++ b/mercurial/dagutil.py	Fri Aug 15 19:43:32 2014 +0200
@@ -62,7 +62,7 @@
         raise NotImplementedError
 
     def externalize(self, ix):
-        '''return a list of (or set if given a set) of node ids'''
+        '''return a node id'''
         return self._externalize(ix)
 
     def externalizeall(self, ixs):
@@ -73,7 +73,7 @@
         return list(ids)
 
     def internalize(self, id):
-        '''return a list of (or set if given a set) of node ixs'''
+        '''return a node ix'''
         return self._internalize(id)
 
     def internalizeall(self, ids, filterunknown=False):