Skip to content

Update Policy class to inherit ABCMeta #280

Merged
muupan merged 1 commit intochainer:masterfrom
uidilr:master
Oct 16, 2018
Merged

Update Policy class to inherit ABCMeta #280
muupan merged 1 commit intochainer:masterfrom
uidilr:master

Conversation

@uidilr
Copy link
Copy Markdown
Contributor

@uidilr uidilr commented Jun 19, 2018

Updated Policy class to inherit ABCMeta.
It is because Policy class had abstract method, but did not inherit ABCMeta class.
Python docs says that decorator @abstractmethod requires that the class’s metaclass is ABCMeta or is derived from it.

@muupan
Copy link
Copy Markdown
Member

muupan commented Sep 2, 2018

Thank you for the PR. I think it should be merged once #281 is solved.

@uidilr uidilr closed this Oct 5, 2018
@uidilr uidilr reopened this Oct 5, 2018
@muupan
Copy link
Copy Markdown
Member

muupan commented Oct 16, 2018

👍

@muupan muupan merged commit d6ea4fc into chainer:master Oct 16, 2018
@toslunar toslunar added this to the v0.5 milestone Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants