Changeset 375

Show
Ignore:
Timestamp:
02/04/07 06:46:09 (2 years ago)
Author:
athomas
Message:

pyndexter: Updated file source docs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pyndexter/trunk/pyndexter/sources/file.py

    r374 r375  
    88 
    99""" 
    10 A document source for local filesystem. Accepts three 
     10A document source for local filesystem. Accepts three optional arguments: 
     11 
     12    include=<glob> 
     13    exclude=<glob> 
     14    predicate=<function> 
     15 
     16Any files not excluded by the exclude pattern and included by the include 
     17pattern will match. 
    1118""" 
    1219 
     
    2027 
    2128class FileSource(Source): 
     29    """ Expose a subset of the file system for searching. """ 
     30 
    2231    def __init__(self, framework, path, include=None, exclude=None, predicate=None): 
    23         """ Expose a subset of the file system for searching. """ 
    2432        Source.__init__(self, framework, include, exclude, predicate) 
    2533        self.path = os.path.normpath(path)