why function throws an error?

Dennis Lee Bieber wlfraed at ix.netcom.com
Tue Jun 28 09:33:13 EDT 2022


On Tue, 28 Jun 2022 10:57:59 +0300, ??? ???? <nsh531 at gmail.com> declaimed
the following:

>        def add_route(self, route):
>        #    """ Add a route object, but do not change the :data:`Route.app`
>        #        attribute."""
>            self.routes.append(route)
>            self.router.add(route.rule, route.method, route, name=route.name
>)
>        #    if DEBUG: route.prepare()

	From your subject "why function throws an error?".

	How would we know? You never show us the error traceback, you never
provide a minimal code listing that someone could attempt to run to perform
debugging.



-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed at ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/


More information about the Python-list mailing list