Skip to content

gh-80678: Document the preferred attribute of csv.Sniffer - #155068

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:csv-document-preferred
Open

gh-80678: Document the preferred attribute of csv.Sniffer#155068
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:csv-document-preferred

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Aug 2, 2026

Copy link
Copy Markdown
Member

The preferred attribute is public, and assigning to it changes the order in which the delimiters are preferred for breaking ties. sniff() now refers to it instead of repeating the list of characters.

It can be modified to change the order in which the delimiters are
preferred for breaking ties.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33872969 | 📁 Comparing ec30c14 against main (7b4165b)

  🔍 Preview build  

1 file changed
± library/csv.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant