Tweaked autodoc to skip :internal: methods.

This commit is contained in:
Armin Ronacher 2011-08-07 14:15:33 +02:00
parent 02a1317460
commit ae00f6d149
3 changed files with 21 additions and 3 deletions

View file

@ -257,7 +257,7 @@ class Flask(_PackageBoundObject):
#: to load a config from files.
self.config = Config(self.root_path, self.default_config)
#: Prepare the deferred setup of the logger.
# Prepare the deferred setup of the logger.
self._logger = None
self.logger_name = self.import_name
@ -1181,7 +1181,7 @@ class Flask(_PackageBoundObject):
the :attr:`before_first_request_funcs` and only exactly once per
application instance (which means process usually).
.. versionadded:: 0.8
:internal:
"""
if self._got_first_request:
return