File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 2121Maintenance
2222~~~~~~~~~~~
2323
24+ * Remove unnecessary None argument to .get(), it is the default value.
25+ By :user: `Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> `, :issue: `395 `.
26+
2427* Apply refurb suggestions.
2528 By :user: `Dimitri Papadopoulos Orfanos <DimitriPapadopoulos> `, :issue: `372 `.
2629
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class _CachedProtocolMeta(Protocol.__class__):
2020
2121 def __instancecheck__ (self , instance ):
2222 key = (self , instance .__class__ )
23- ret = self ._instancecheck_cache .get (key , None )
23+ ret = self ._instancecheck_cache .get (key )
2424 if ret is None :
2525 ret = super ().__instancecheck__ (instance )
2626 self ._instancecheck_cache [key ] = ret
You can’t perform that action at this time.
0 commit comments