Skip to content

Commit

Permalink
Picky pylint warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Feb 22, 2018
1 parent 6e3b700 commit 0088685
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/gevent/_ident.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ class ValuedWeakRef(ref):
"""
A weak ref with an associated value.
"""
# This seems entirely spurious; even on Python 2.7
# weakref.ref descends from object
# pylint: disable=slots-on-old-class
__slots__ = ('value',)


Expand Down
2 changes: 1 addition & 1 deletion src/gevent/greenlet.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ cdef wait
cdef iwait
cdef reraise
cdef InvalidSwitchError
cdef IdentRegistry ident_registry


@cython.final
@cython.internal
Expand Down

0 comments on commit 0088685

Please sign in to comment.