intiocean / pyinter

A interval package for Python which deals with interval arithmetic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Return NotImplemented instead of raising a NotImplementedError

AlexandreDecan opened this issue · comments

The comparison operators should return a NotImplemented object instead of raising a NotImplementedError.

See https://docs.python.org/3.6/library/constants.html#NotImplemented

Nice - thanks for the link - A PR to correct this (with tests) would be welcome.