Source

pyobjc / pyobjc-framework-Cocoa / PyObjCTest / test_nspopover.py

Diff from to

File pyobjc-framework-Cocoa/PyObjCTest/test_nspopover.py

 
 import AppKit
 
+try:
+    unicode
+except NameError:
+    unicode = str
+
 class PopoverHelper (AppKit.NSObject):
     def popoverShouldClose_(self, a): return 1