1. Ronald Oussoren
  2. pyobjc

Commits

Ronald Oussoren  committed 201047d

Use DeprecationWarning for deprecated API

  • Participants
  • Parent commits b2ac4a6
  • Branches default

Comments (0)

Files changed (1)

File pyobjc-core/Lib/objc/_functions.py

View file
             return 0
     """
     import warnings
-    warnings.warn("Usage objc.typedSelector instead of objc.signature")
+    warnings.warn("Usage objc.typedSelector instead of objc.signature", DeprecationWarning)
     from objc._objc import selector
     kw['signature'] = signature
     def makeSignature(func):