code: def get(cls, scope=None):
          
          if scope is None:
              scope = cls.default
          if isinstance(scope, string_types) and scope in cls._keywords:
              return getattr(cls, scope)
          return scope
docs: Return default or predefined URLs from keyword, pass through ``scope``.