Skip to content

Commit

Permalink
Code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
PCigales authored Mar 26, 2024
1 parent 0fb57b0 commit 9775f92
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions wic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,6 @@ class PropVariantType(_BVType):

class _BVUtil:
@staticmethod

def _ainit(arr, *args, needsclear=False, **kwargs):
getattr(arr.__class__.__bases__[0], '__init__')(arr, *args, **kwargs)
arr._needsclear = needsclear
Expand All @@ -1391,7 +1390,7 @@ def _adel(arr):
getattr(arr.__class__.__bases__[0], '__del__', id)(arr)
@staticmethod
def _idup(addr, icls):
i = icls(wintypes.LPVOID(addr))
i = icls(addr)
if i is not None and i.AddRef() is not None:
i.refs -= 1
return i
Expand Down Expand Up @@ -1581,7 +1580,6 @@ class PROPVARIANT(_BVARIANT, ctypes.Structure):

class _PBUtil:
@staticmethod

def _ainit(arr, *args, needsclear=False, **kwargs):
getattr(arr.__class__.__bases__[0], '__init__')(arr, *args, **kwargs)
arr._needsclear = needsclear
Expand Down

0 comments on commit 9775f92

Please sign in to comment.