Merge pull request #156 from timgates42/bugfix_typo_instantiate

docs: Fix simple typo, instanciate -> instantiate
This commit is contained in:
Rémy HUBSCHER 2020-03-08 20:12:05 +01:00 committed by GitHub
commit bd41e6f7bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,12 +128,12 @@ class SmartDownloadMiddleware(BaseDownloadMiddleware):
#: :class:`DownloadDispatcher` instance that can hold multiple
#: backend instances.
self.dispatcher = DownloadDispatcherMiddleware(middlewares=[])
#: Callable (typically a class) to instanciate backend (typically a
#: Callable (typically a class) to instantiate backend (typically a
#: :class:`DownloadMiddleware` subclass).
self.backend_factory = backend_factory
if self.backend_factory is AUTO_CONFIGURE:
self.auto_configure_backend_factory()
#: List of positional or keyword arguments to instanciate backend
#: List of positional or keyword arguments to instantiate backend
#: instances.
self.backend_options = backend_options
if self.backend_options is AUTO_CONFIGURE: