jorisvandenbossche commented on code in PR #13594:
URL: https://github.com/apache/arrow/pull/13594#discussion_r923235597


##########
docs/source/python/extending_types.rst:
##########
@@ -290,21 +290,25 @@ Custom scalar conversion
 ~~~~~~~~~~~~~~~~~~~~~~~~
 
 If you want scalars of your custom extension type to convert to a custom type 
when
-:meth:`ExtensionScalar.as_py()` is called, you can override the 
:meth:`ExtensionType.scalar_as_py()`
+:meth:`ExtensionScalar.as_py()` is called, you can override the 
:meth:`ExtensionScalar.as_py()`

Review Comment:
   ```suggestion
   :meth:`ExtensionScalar.as_py()` is called, you can override the 
:meth:`ExtensionScalar.as_py()` by subclassing :class:`ExtensionScalar`.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to