Repository: pandas-dev/pandas

Issue:
DOC: Fix formatting errors in pandas.api.extensions.ExtensionArray
```python
python scripts/validate_docstrings.py pandas.api.extensions.ExtensionArray.view

python scripts/validate_docstrings.py pandas.api.extensions.ExtensionArray.fillna

python scripts/validate_docstrings.py pandas.api.extensions.ExtensionArray.shift


```
#### Problem description

pandas.api.extensions.ExtensionArray.view: Parameter "dtype" description should finish with "."
pandas.api.extensions.ExtensionArray.view: Return value has no description

pandas.api.extensions.ExtensionArray.fillna: Parameter "method" description should finish with "."
pandas.api.extensions.ExtensionArray.fillna: The first line of the returns section should contain only the type, unless multiple values are being returned
pandas.api.extensions.ExtensionArray.fillna: Return value has no description

pandas.api.extensions.ExtensionArray.shift: Parameter "fill_value" description should finish with "."
pandas.api.extensions.ExtensionArray.shift: The first line of the returns section should contain only the type, unless multiple values are being returned
pandas.api.extensions.ExtensionArray.shift: Return value has no description
```

This is a subset of #27977  and #28602   


Discussion:

Resolving patch:
diff --git a/pandas/core/arrays/base.py b/pandas/core/arrays/base.py
--- a/pandas/core/arrays/base.py
+++ b/pandas/core/arrays/base.py
@@ -474,7 +474,7 @@ def fillna(self, value=None, method=None, limit=None):
         method : {'backfill', 'bfill', 'pad', 'ffill', None}, default None
             Method to use for filling holes in reindexed Series
             pad / ffill: propagate last valid observation forward to next valid
-            backfill / bfill: use NEXT valid observation to fill gap
+            backfill / bfill: use NEXT valid observation to fill gap.
         limit : int, default None
             If method is specified, this is the maximum number of consecutive
             NaN values to forward/backward fill. In other words, if there is
@@ -485,7 +485,8 @@ def fillna(self, value=None, method=None, limit=None):
 
         Returns
         -------
-        filled : ExtensionArray with NA/NaN filled
+        ExtensionArray
+            With NA/NaN filled.
         """
         value, method = validate_fillna_kwargs(value, method)
 
@@ -539,13 +540,14 @@ def shift(self, periods: int = 1, fill_value: object = None) -> ABCExtensionArra
 
         fill_value : object, optional
             The scalar value to use for newly introduced missing values.
-            The default is ``self.dtype.na_value``
+            The default is ``self.dtype.na_value``.
 
             .. versionadded:: 0.24.0
 
         Returns
         -------
-        shifted : ExtensionArray
+        ExtensionArray
+            Shifted.
 
         Notes
         -----
@@ -869,11 +871,12 @@ def view(self, dtype=None) -> Union[ABCExtensionArray, np.ndarray]:
         Parameters
         ----------
         dtype : str, np.dtype, or ExtensionDtype, optional
-            Default None
+            Default None.
 
         Returns
         -------
         ExtensionArray
+            A view of the :class:`ExtensionArray`.
         """
         # NB:
         # - This must return a *new* object referencing the same data, not self.


Test patch: