From fa7ca88ea8674cfc8bf9a9fa24a7dca088a7f71a Mon Sep 17 00:00:00 2001 From: Chris Lunsford Date: Thu, 3 Jan 2019 02:01:03 -0500 Subject: [PATCH] Update generator_containers.py Use `generator_function.__name__` instead of `generator_function.__qualname__` for Python2 compatibility. --- ciscosparkapi/generator_containers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ciscosparkapi/generator_containers.py b/ciscosparkapi/generator_containers.py index 069d35b..006806a 100644 --- a/ciscosparkapi/generator_containers.py +++ b/ciscosparkapi/generator_containers.py @@ -67,7 +67,7 @@ def __init__(self, generator_function, *args, **kwargs): def __repr__(self): """A string representation of this object.""" return ''.format( - func_name=self.generator_function.__qualname__, + func_name=self.generator_function.__name__, arguments=", ".join( str(key) + '=' + repr(value) for key, value in self.arguments.items() pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy