MCPcopy Create free account
hub / github.com/mhammond/pywin32 / repr

Method repr

Pythonwin/win32cmd.cpp:182–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182CString PyCCmdTarget::repr()
183{
184 CString csRet;
185 SSIZE_T numCmd = pCommandHookList ? pCommandHookList->GetCount() : 0;
186 SSIZE_T numNotify = pNotifyHookList ? pNotifyHookList->GetCount() : 0;
187 SSIZE_T numCmdUpdate = pCommandUpdateHookList ? pCommandUpdateHookList->GetCount() : 0;
188 SSIZE_T numOle = pOleEventHookList ? pOleEventHookList->GetCount() : 0;
189 csRet.Format(_T(", notify=%Iu,ch/u=%Iu/%Iu"), numNotify, numCmd, numCmdUpdate);
190 return ui_assoc_object::repr() + csRet;
191}
192/////////////////////////////////////////////////////////////////////
193//
194// add_hook_list

Callers

nothing calls this directly

Calls 2

FormatMethod · 0.80
GetCountMethod · 0.45

Tested by

no test coverage detected