Skip to content

Docs: fix incorrect reference in bin() documentation#149140

Closed
BHUVANSH855 wants to merge 1 commit intopython:mainfrom
BHUVANSH855:fix-doc-bin-reference
Closed

Docs: fix incorrect reference in bin() documentation#149140
BHUVANSH855 wants to merge 1 commit intopython:mainfrom
BHUVANSH855:fix-doc-bin-reference

Conversation

@BHUVANSH855
Copy link
Copy Markdown

Fix an incorrect reference to enum.bin in the documentation for the built-in bin() function.

The reference pointed to a non-existent function. It has been replaced with a correct explanation of how negative integers are represented, along with a reference to format() for further details on binary representations.

@read-the-docs-community
Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #32464519 | 📁 Comparing 33d493e against main (d71e3bc)

  🔍 Preview build  

2 files changed
± download.html
± library/functions.html

@BHUVANSH855
Copy link
Copy Markdown
Author

This is a small documentation fix that does not require a separate issue.

Could a maintainer please add the skip issue label?

@picnixz
Copy link
Copy Markdown
Member

picnixz commented Apr 29, 2026

enum.bin exists and its purpose is correct: https://docs.python.org/3/library/enum.html#enum.bin.

@picnixz picnixz closed this Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants