Remove comment about extension backwards compat

0.7 was a long time ago; there's no reason for extension to supports such old versions.
This commit is contained in:
Adrian 2019-11-25 00:38:50 +01:00 committed by GitHub
parent 25a5d30311
commit 38eb5d3b49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -549,12 +549,7 @@ class Flask(_PackageBoundObject):
#: a place where extensions can store application specific state. For
#: example this is where an extension could store database engines and
#: similar things. For backwards compatibility extensions should register
#: themselves like this::
#:
#: if not hasattr(app, 'extensions'):
#: app.extensions = {}
#: app.extensions['extensionname'] = SomeObject()
#: similar things.
#:
#: The key must match the name of the extension module. For example in
#: case of a "Flask-Foo" extension in `flask_foo`, the key would be