Skip to content
Myr

Trivial fix for PathDispatcher example usage

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Hadley Rich · committed by Hadley Rich · parent 7e1ebae · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/appdispatch.rst+1 added-1 removed
165 unmodified lines
166 user = get_user_for_prefix(prefix)167 if user is not None:168 return create_app(user)169170 application = PathDispatcher('example.com', default_app, make_app)170 application = PathDispatcher(default_app, make_app)