93 QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents |
93 QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents |
94 ) |
94 ) |
95 |
95 |
96 return self |
96 return self |
97 |
97 |
98 def __exit__(self, exc_type, exc_value, traceback): |
98 def __exit__(self, _exc_type, _exc_value, _traceback): |
99 """ |
99 """ |
100 Special method called when exiting the runtime ccontext. |
100 Special method called when exiting the runtime ccontext. |
101 |
101 |
102 @param exc_type type of an exception raised in the runtime context |
102 @param _exc_type type of an exception raised in the runtime context (unused) |
103 @type Class |
103 @type Class |
104 @param exc_value value of an exception raised in the runtime context |
104 @param _exc_value value of an exception raised in the runtime context (unused) |
105 @type Exception |
105 @type Exception |
106 @param traceback traceback of an exception raised in the runtime |
106 @param _traceback traceback of an exception raised in the runtime |
107 context |
107 context (unused) |
108 @type Traceback |
108 @type Traceback |
109 @return always returns None to not suppress any exception |
109 @return always returns None to not suppress any exception |
110 @rtype None |
110 @rtype None |
111 """ |
111 """ |
112 if self.__cursorShape is not None: |
112 if self.__cursorShape is not None: |