Changeset 2869:43be85edea2f in livinglogic.python.xist

Show
Ignore:
Timestamp:
08/09/07 16:20:12 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add docstring to xfind.IsInstanceSelector?.getitem().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/xfind.py

    r2868 r2869  
    168168 
    169169    def __getitem__(self, index): 
     170        """ 
     171        Return an <pyref class="nthoftype"><class>nthoftype</class></pyref> 
     172        selector that uses <arg>index</arg> as the index as <self/>s types 
     173        as the types. 
     174        """ 
    170175        return nthoftype(index, *self.types) 
    171176