File manager - Edit - /home/newsbmcs.com/public_html/static/img/logo/hasmethod.py.tar
Back
usr/lib/python3/dist-packages/hamcrest/core/helpers/hasmethod.py 0000644 00000000532 15030035070 0020765 0 ustar 00 __author__ = "Jon Reid" __copyright__ = "Copyright 2011 hamcrest.org" __license__ = "BSD, see License.txt" def hasmethod(obj: object, methodname: str) -> bool: """Does ``obj`` have a method named ``methodname``?""" if not hasattr(obj, methodname): return False method = getattr(obj, methodname) return callable(method)
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings