Skip to content

Add remove() method in creator.py#311

Open
krypty wants to merge 1 commit intoDEAP:masterfrom
krypty:master
Open

Add remove() method in creator.py#311
krypty wants to merge 1 commit intoDEAP:masterfrom
krypty:master

Conversation

@krypty
Copy link

@krypty krypty commented Oct 31, 2018

In function create() a warning is shown
if a class has previously been created with the same name (here)
It says "Consider deleting previous creation of that class or rename it" but creator provides
no ways to do that.

This PR adds a method remove() that let the user remove a previously created class.

@fmder
Copy link
Member

fmder commented Jun 5, 2019

I prefer the use of

del creator.Class

@bje-
Copy link
Contributor

bje- commented Mar 28, 2023

Also see PR #692.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants