# -*- coding: utf-8 -*-"""flask~~~~~A microframework based on Werkzeug. It's extensively documentedand follows best practice patterns.:copyright: © 2010 by the Pallets team.:license: BSD, see LICENSE for more details."""__version__ = '1.0.2'# utilities we import from Werkzeug and Jinja2 that are unused# in the module but are exported as public interface.from werkzeug.exceptions import abortfrom werkzeug.utils import redirectfrom jinja2 import Markup, escapefrom .app import Flask, Request, Responsefrom .config import Configfrom .helpers import url_for, flash, send_file, send_from_directory, \get_flashed_messages, get_template_attribute, make_response, safe_join, \stream_with_contextfrom .globals import current_app, g, request, session, _request_ctx_stack, \_app_ctx_stackfrom .ctx import has_request_context, has_app_context, \after_this_request, copy_current_request_contextfrom .blueprints import Blueprintfrom .templating import render_template, render_template_string# the signalsfrom .signals import signals_available, template_rendered, request_started, \request_finished, got_request_exception, request_tearing_down, \appcontext_tearing_down, appcontext_pushed, \appcontext_popped, message_flashed, before_render_template# We're not exposing the actual json module but a convenient wrapper around# it.from . import json# This was the only thing that Flask used to export at one point and it had# a more generic name.jsonify = json.jsonify# backwards compat, goes away in 1.0from .sessions import SecureCookieSession as Sessionjson_available = True
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。