Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
register name instead of __name__
Browse files Browse the repository at this point in the history
  • Loading branch information
ohanar committed May 26, 2015
1 parent 7c3ac01 commit 5cc7f56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/plot/plot3d/renderers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

def register(renderer):
global registered_renderers
registered_renderers[renderer.__name__] = renderer
registered_renderers[renderer.name] = renderer()

def unregister(renderer):
del registered_renderers[renderer.__name__]
del registered_renderers[renderer.name]



Expand Down

0 comments on commit 5cc7f56

Please sign in to comment.