isclassmethod

This is a dummy package.


Keywords
python
Install
pip install isclassmethod==0.0.post0

Documentation

Travis

Install

$ [sudo] pip install isclassmethod

Examples

>>> from isclassmethod import isclassmethod

>>> class CLS:
    	@classmethod
    	def classmethod(cls,x): pass
    	@staticmethod
    	def staticmethod(x): pass

>>> isclassmethod(CLS.classmethod)
True

>>> isclassmethod(CLS.staticmethod)
False

Sources