changeset 22387:ce8cea923a6c

dagutils: fix docstrings for singleton internalize/externalize
author Mads Kiilerich <madski@unity3d.com>
date Fri, 15 Aug 2014 19:43:32 +0200
parents 54e614a297ac
children 0f0b204b399c
files mercurial/dagutil.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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):