Skip to content

Commit

Permalink
fixed requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lincoln-developer committed Nov 8, 2024
1 parent 0dc75ec commit 0d8bd61
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions developer-workflow/cpython-deprecation-workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ Check prevalence and consider alternatives

Before proposing deprecation:

* **Assess Usage**: Use tools like GitHub search, ``grep``, or ``PyPI statistics`` to determine the extent and context of usage.
* **Assess Usage**: Use tools like GitHub search, `grep`_, or `PyPI statistics`_ to determine the extent and context of usage.
* **Consider Alternatives**: Ensure there are suitable replacements or upgrades available.

.. _grep: https://www.gnu.org/software/grep/
.. _PyPI statistics: https://pypistats.org/

Open an issue
-------------

Expand All @@ -35,7 +38,7 @@ Once approved:
.. code-block:: python
import warnings
warnings.warn(
warnings._deprecated(
"Feature X is deprecated and will be removed in Python 3.Y",
DeprecationWarning,
stacklevel=2
Expand Down

0 comments on commit 0d8bd61

Please sign in to comment.