Skip to content

Commit 2c44d44

Browse files
committed
fix pep 8 compliance
1 parent fb8e365 commit 2c44d44

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/pointers/c_pointer.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def __rich__(self):
209209
return (
210210
f"<[green]void[/green] pointer to [cyan]{hex(self.address)}[/cyan]>" # noqa
211211
)
212-
212+
213213
def __del__(self):
214214
pass
215215

@@ -265,15 +265,13 @@ def __del__(self):
265265
remove_ref(~self)
266266

267267

268-
269-
270268
def cast(ptr: VoidPointer, data_type: Type[T]) -> TypedCPointer[T]:
271269
"""Cast a void pointer to a typed pointer."""
272270
return TypedCPointer(
273271
ptr.address,
274272
data_type,
275273
ptr.size,
276-
decref = False
274+
decref=False
277275
)
278276

279277

0 commit comments

Comments
 (0)