Changeset 1728:f0d526af5686


Ignore:
Timestamp:
Dec 26, 2018, 8:33:02 PM (9 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Don't inherit from `object`

This is no longer necessary because the next version of ftputil won't
support Python 2.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ftputil/lrucache.py

    r1727 r1728  
    4848# The suffix after the hyphen denotes modifications by the
    4949# ftputil project with respect to the original version.
    50 __version__ = "0.2-13"
     50__version__ = "0.2-14"
    5151__all__ = ['CacheKeyError', 'LRUCache', 'DEFAULT_SIZE']
    5252__docformat__ = 'reStructuredText en'
     
    7373
    7474
    75 class LRUCache(object):
     75class LRUCache:
    7676    """Least-Recently-Used (LRU) cache.
    7777
     
    113113    """
    114114
    115     class _Node(object):
     115    class _Node:
    116116        """Record of a cached value. Not for public consumption."""
    117117
Note: See TracChangeset for help on using the changeset viewer.