File tree 1 file changed +4
-4
lines changed
src/core/IronPython.Modules
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -199,9 +199,9 @@ public bool locked()
199
199
200
200
public string __repr__ ( ) {
201
201
if ( curHolder is null ) {
202
- return $ "<unlocked _thread.lock object at 0x{ IdDispenser . GetId ( this ) : 16X } ";
202
+ return $ "<unlocked _thread.lock object at 0x{ IdDispenser . GetId ( this ) : X16 } > ";
203
203
}
204
- return $ "<locked _thread.lock object 0x{ IdDispenser . GetId ( this ) : 16X } ";
204
+ return $ "<locked _thread.lock object at 0x{ IdDispenser . GetId ( this ) : X16 } > ";
205
205
}
206
206
207
207
private void CreateBlockEvent ( ) {
@@ -286,9 +286,9 @@ public void release() {
286
286
287
287
public string __repr__ ( ) {
288
288
if ( curHolder is null ) {
289
- return $ "<unlocked _thread.RLock object owner=0 count=0 at 0x{ IdDispenser . GetId ( this ) : 16X } ";
289
+ return $ "<unlocked _thread.RLock object owner=0 count=0 at 0x{ IdDispenser . GetId ( this ) : X16 } > ";
290
290
}
291
- return $ "<locked _thread.RLock object owner={ curHolder ? . ManagedThreadId } count={ count } at 0x{ IdDispenser . GetId ( this ) : 16X } ";
291
+ return $ "<locked _thread.RLock object owner={ curHolder ? . ManagedThreadId } count={ count } at 0x{ IdDispenser . GetId ( this ) : X16 } > ";
292
292
}
293
293
294
294
public void _acquire_restore ( [ NotNone ] PythonTuple state ) {
You can’t perform that action at this time.
0 commit comments