Skip to content

Commit 2ea3971

Browse files
first draft
1 parent bd7467b commit 2ea3971

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

cuda_bindings/docs/source/tips_and_tricks.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,4 @@ There is an important distinction between the ``getPtr()`` method and the behavi
1212
Getting and setting attributes of extension types
1313
=================================================
1414

15-
While the bindings outwardly presents the attributes of extension types in a Pythonic way, they can't always be interacted
16-
with in a Pythonic style. Often the getters/setters (__getitem__(), __setitem__()) are actually a translation step to convert values between
17-
Python and C. For example, in some cases, attempting to modify an attribute in place, will lead to unexpected behavior due to the constraints
18-
of the underlying implementation. For this reason, users should use the getters and setters directly when interacting with extension types.
15+
While the bindings outwardly presents the attributes of extension types in a Pythonic way, they can't always be interacted with in a Pythonic style. Often the getters/setters (__getitem__(), __setitem__()) are actually a translation step to convert values between Python and C. For example, in some cases, attempting to modify an attribute in place, will lead to unexpected behavior due to the constraints of the underlying implementation. For this reason, users should use the getters and setters directly when interacting with extension types.

0 commit comments

Comments
 (0)