Changeset 263

Show
Ignore:
Timestamp:
2003-06-09 19:06:01 (6 years ago)
Author:
schwa
Message:
Module: Added docstrings for classes derived from `_Stat`.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ftp_stat.py

    r260 r263  
    3131 
    3232""" 
    33 ftp_stat.py - stat result class and parsers for `ftputil` 
     33ftp_stat.py - stat result, parsers, and FTP stat'ing for `ftputil` 
    3434""" 
    3535 
    36 # $Id: ftp_stat.py,v 1.11 2003/06/09 18:29:32 schwa Exp $ 
     36# $Id: ftp_stat.py,v 1.12 2003/06/09 19:06:01 schwa Exp $ 
    3737 
    3838import stat 
     
    185185 
    186186class _UnixStat(_Stat): 
     187    """`_Stat` class for Unix-specific directory format.""" 
    187188    # map month abbreviations to month numbers 
    188189    _month_numbers = { 
     
    245246            year, hour, minute = None, int(hour), int(minute) 
    246247            # try the current year 
     248            #FIXME that doesn't work for some timezone combinations 
     249            #  of client and server 
    247250            year = time.localtime()[0] 
    248251            st_mtime = time.mktime( (year, month, day, hour, 
     
    268271 
    269272class _MSStat(_Stat): 
     273    """`_Stat` class for MS-specific directory format.""" 
    270274    def parse_line(self, line): 
    271275        """