diff --git a/stubs/psycopg2/psycopg2/_range.pyi b/stubs/psycopg2/psycopg2/_range.pyi index fa60fd1bc..05b22d83d 100644 --- a/stubs/psycopg2/psycopg2/_range.pyi +++ b/stubs/psycopg2/psycopg2/_range.pyi @@ -18,7 +18,6 @@ class Range: def upper_inc(self): ... def __contains__(self, x): ... def __bool__(self): ... - def __nonzero__(self): ... def __eq__(self, other): ... def __ne__(self, other): ... def __hash__(self): ...