Skip to content

Commit

Permalink
Meta: Classify Accepted Process PEPs as current; PEP 8001: Mark as Fi…
Browse files Browse the repository at this point in the history
…nal (#2385)
  • Loading branch information
CAM-Gerlach authored Mar 12, 2022
1 parent 54d8f01 commit ce2ef04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pep-8001.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Author: Brett Cannon <[email protected]>,
Tal Einat <[email protected]>,
Tim Peters <[email protected]>,
Zachary Ware <[email protected]>
Status: Accepted
Status: Final
Type: Process
Content-Type: text/x-rst
Created: 24-Aug-2018
Expand Down
2 changes: 1 addition & 1 deletion pep_sphinx_extensions/pep_zero_generator/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def _classify_peps(peps: list[PEP]) -> tuple[list[PEP], ...]:
elif pep.status == STATUS_DEFERRED:
deferred.append(pep)
elif pep.pep_type == TYPE_PROCESS:
if pep.status == STATUS_ACTIVE:
if pep.status in {STATUS_ACCEPTED, STATUS_ACTIVE}:
meta.append(pep)
elif pep.status in {STATUS_WITHDRAWN, STATUS_REJECTED}:
dead.append(pep)
Expand Down

0 comments on commit ce2ef04

Please sign in to comment.