Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove useless warnings

  • Loading branch information...
commit b9e87bb8ce648d00de596dc7d0d16204825c9ee7 1 parent 5236f38
@mcdonc mcdonc authored
Showing with 5 additions and 12 deletions.
  1. +5 −12 pyramid/settings.py
View
17 pyramid/settings.py
@@ -71,18 +71,11 @@ def __getattr__(self, name):
def get_settings():
"""
- Return a 'settings' object for the current application. A
- 'settings' object is a dictionary-like object that contains
- key/value pairs based on the dictionary passed as the ``settings``
- argument to the :class:`pyramid.config.Configurator`
- constructor or the :func:`pyramid.router.make_app` API.
-
- .. note:: For backwards compatibility, dictionary keys can also be
- looked up as attributes of the settings object.
-
- .. note:: the
- :class:`pyramid.config.Configurator.get_settings` method
- performs the same duty.
+ Return a :term:`deployment settings` object for the current application.
+ The object is a dictionary-like object that contains key/value pairs
+ based on the dictionary passed as the ``settings`` argument to the
+ :class:`pyramid.config.Configurator` constructor or the
+ :func:`pyramid.router.make_app` API.
.. warning:: This method is deprecated as of Pyramid 1.0. Use
``pyramid.threadlocals.get_current_registry().settings`` instead or use
Please sign in to comment.
Something went wrong with that request. Please try again.