File manager - Edit - /opt/imh-python/lib/python2.7/site-packages/flask/module.pyc
Back
� 钹Qc @ sE d Z d d l Z d d l m Z d � Z d e f d � � YZ d S( s� flask.module ~~~~~~~~~~~~ Implements a class that represents module blueprints. :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. i����Ni ( t Blueprintc C s t | t � S( s4 Used to figure out if something is actually a module( t isinstancet Module( t bp( ( s; /opt/imh-python/lib/python2.7/site-packages/flask/module.pyt blueprint_is_module s R c B s# e Z d Z d d d d d � Z RS( se Deprecated module support. Until Flask 0.6 modules were a different name of the concept now available as blueprints in Flask. They are essentially doing the same but have some bad semantics for templates and static files that were fixed with blueprints. .. versionchanged:: 0.7 Modules were deprecated in favor for blueprints. c C s� | d k r= d | k s$ t d � � | j d d � d } n t j | | | d | d | d d �t j j t j j | j d � � r� d | _ n d S( Nt .s; name required if package name does not point to a submodulei t url_prefixt subdomaint template_foldert templatest static( t Nonet AssertionErrort rsplitR t __init__t ost patht isdirt joint root_patht _static_folder( t selft import_namet nameR t static_pathR ( ( s; /opt/imh-python/lib/python2.7/site-packages/flask/module.pyR s $N( t __name__t __module__t __doc__R R ( ( ( s; /opt/imh-python/lib/python2.7/site-packages/flask/module.pyR s ( R R t blueprintsR R R ( ( ( s; /opt/imh-python/lib/python2.7/site-packages/flask/module.pyt <module> s
| ver. 1.4 |
Github
|
.
| PHP 8.3.31 | Generation time: 0 |
proxy
|
phpinfo
|
Settings