MCPcopy Create free account
hub / github.com/pallets/flask / my_reverse

Function my_reverse

tests/test_blueprints.py:366–367  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

364
365 @bp.app_template_filter()
366 def my_reverse(s):
367 return s[::-1]
368
369 app.register_blueprint(bp, url_prefix="/py")
370 assert "my_reverse" in app.jinja_env.filters.keys()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected