Module Expr Str Import alias ImportFrom alias Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad Str Assign NameStore BinOpLShift Num Num Assign NameStore BinOpLShift Num Num Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad For NameStore Call NameLoad Num BinOpAdd AttributeLoad NameLoad attr Num body Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryFinally body For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return Call AttributeLoad NameLoad attr Str orelse Return Call AttributeLoad NameLoad attr Str finalbody Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad SubscriptLoad NameLoad Slice NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Return Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BinOpBitAnd NameLoad NameLoad body Raise NameLoad Str If UnaryOpNot BinOpBitAnd NameLoad NameLoad body Raise NameLoad Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise NameLoad Str TryFinally body Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num NameLoad NameLoad Num finalbody Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise NameLoad Str TryFinally body Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num NameLoad NameLoad Num finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Print Repr Call AttributeLoad NameLoad attr If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Slice Num attr Str
N/A N/A Clipboard implementation for OS X using Carbon

Based on information from:
  http://developer.apple.com/carbon/pasteboards.html
 N/A sys ctypes * N/A pyglet.lib pyglet.window.carbon _create_cfstring carbon _oscheck pyglet.window.carbon.constants * pyglet.window.carbon.types * N/A carbon N/A N/A N/A pyglet lib load_library framework /System/Library/Frameworks/Carbon.framework N/A PasteboardRef c_void_p N/A PasteboardItemID c_void_p N/A CFArrayRef c_void_p N/A CFDataRef c_void_p N/A ItemCount c_int32 N/A kPasteboardClipboard N/A _create_cfstring com.apple.pasteboard.clipboard N/A kPasteboardModified N/A 1 0 N/A kPasteboardClientIsOwner N/A 1 1 N/A utf16_plain_text N/A _create_cfstring public.utf16-plain-text N/A traditional_mac_plain_text N/A _create_cfstring com.apple.traditional-mac-plain-text N/A N/A N/A carbon CFDataGetBytePtr restype N/A POINTER c_char CarbonPasteboard N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self pasteboard N/A PasteboardRef N/A N/A N/A carbon PasteboardCreate kPasteboardClipboard N/A byref N/A self pasteboard N/A get_text N/A N/A self N/A N/A N/A item_count N/A ItemCount N/A N/A _oscheck N/A N/A carbon PasteboardGetItemCount N/A self pasteboard N/A byref item_count N/A item_id N/A PasteboardItemID N/A flavor_type_array N/A CFArrayRef N/A flavor_data N/A CFDataRef N/A item_index N/A range 1 N/A N/A item_count value 1 N/A N/A N/A _oscheck N/A N/A carbon PasteboardGetItemIdentifier N/A self pasteboard item_index N/A byref item_id N/A N/A _oscheck N/A N/A carbon PasteboardCopyItemFlavors N/A self pasteboard item_id N/A byref flavor_type_array N/A flavor_count N/A N/A carbon CFArrayGetCount flavor_type_array N/A N/A N/A flavor_index N/A range flavor_count N/A N/A flavor_type N/A N/A carbon CFArrayGetValueAtIndex flavor_type_array flavor_index N/A N/A N/A carbon UTTypeConformsTo flavor_type utf16_plain_text N/A N/A N/A _oscheck N/A N/A carbon PasteboardCopyItemFlavorData N/A self pasteboard item_id flavor_type N/A byref flavor_data N/A N/A N/A data N/A N/A carbon CFDataGetBytePtr flavor_data N/A length N/A N/A carbon CFDataGetLength flavor_data N/A s N/A str N/A data N/A length N/A N/A N/A sys byteorder big N/A N/A N/A N/A s decode utf_16_be N/A N/A N/A N/A s decode utf_16_le N/A N/A N/A N/A carbon CFRelease flavor_data N/A flavor_index N/A range flavor_count N/A N/A flavor_type N/A N/A carbon CFArrayGetValueAtIndex flavor_type_array flavor_index N/A N/A N/A carbon UTTypeConformsTo flavor_type traditional_mac_plain_text N/A N/A N/A _oscheck N/A N/A carbon PasteboardCopyItemFlavorData N/A self pasteboard item_id flavor_type N/A byref flavor_data N/A N/A N/A data N/A N/A carbon CFDataGetBytePtr flavor_data N/A length N/A N/A carbon CFDataGetLength flavor_data N/A N/A str N/A data N/A length N/A N/A N/A N/A carbon CFRelease flavor_data N/A N/A N/A N/A carbon CFRelease flavor_type_array N/A None N/A put_text N/A N/A self text N/A N/A N/A N/A text N/A N/A N/A N/A _oscheck N/A N/A carbon PasteboardClear N/A self pasteboard N/A sync_flags N/A N/A carbon PasteboardSynchronize N/A self pasteboard N/A N/A sync_flags kPasteboardModified N/A N/A ValueError Pasteboard not synchronized after clear N/A N/A N/A sync_flags kPasteboardClientIsOwner N/A N/A ValueError Pasteboard not owned after clear N/A N/A N/A sys byteorder big N/A N/A utf16_data N/A N/A text encode utf_16_be N/A N/A utf16_data N/A N/A text encode utf_16_le N/A data_ref N/A N/A carbon CFDataCreate None utf16_data N/A len utf16_data N/A N/A data_ref N/A N/A ValueError Can't create unicode data for pasteboard N/A N/A N/A N/A _oscheck N/A N/A carbon PasteboardPutItemFlavor N/A self pasteboard 1 utf16_plain_text data_ref 0 N/A N/A N/A N/A carbon CFRelease data_ref N/A ascii_data N/A N/A text encode ascii replace N/A data_ref N/A N/A carbon CFDataCreate None ascii_data N/A len ascii_data N/A N/A data_ref N/A N/A ValueError Can't create text data for pasteboard N/A N/A N/A N/A _oscheck N/A N/A carbon PasteboardPutItemFlavor N/A self pasteboard 1 traditional_mac_plain_text data_ref 0 N/A N/A N/A N/A carbon CFRelease data_ref N/A N/A N/A N/A __name__ __main__ N/A N/A clipboard N/A CarbonPasteboard N/A N/A N/A N/A clipboard get_text N/A N/A N/A len N/A sys argv 1 N/A N/A N/A N/A clipboard put_text N/A N/A N/A N/A join N/A N/A sys argv N/A 1 decode utf8