Robert Rawlins wrote:
What’s the simplest way to access a classes namespace from within
itself. I want to use it in a custom __repr__() method so it prints the
current namespace for the class like package.module.class.
Name or namespace? You can access the class name from an instance via
th
Guys,
What's the simplest way to access a classes namespace from within itself. I
want to use it in a custom __repr__() method so it prints the current
namespace for the class like package.module.class.
Suggestions? I'm sure there is a simple enough method built in to help me
here, I've jus