Remove object as base class for MutableChain

Plus some minor styling adjustments
This commit is contained in:
Eugenio Lacuesta 2020-01-10 04:40:03 -03:00
parent c088c04f44
commit d6e928f472
No known key found for this signature in database
GPG Key ID: DA3EF2D0913E9810
1 changed files with 4 additions and 4 deletions

View File

@ -1,15 +1,15 @@
"""
This module contains essential stuff that should've come with Python itself ;)
"""
import errno
import gc
import inspect
import os
import re
import inspect
import sys
import weakref
import errno
from functools import partial, wraps
from itertools import chain
import sys
from scrapy.utils.decorators import deprecated
@ -371,7 +371,7 @@ else:
gc.collect()
class MutableChain(object):
class MutableChain:
"""
Thin wrapper around itertools.chain, allowing to add iterables "in-place"
"""