Skip to content

Typo in f-string conversion type error #135496

Closed
@MeGaGiGaGon

Description

@MeGaGiGaGon

Bug report

Bug description:

f"{1! r}"

Gives the error

SyntaxError: f-string: conversion type must come right after the exclamanation mark

There is a typo in the word "exclamanation" (should be "exclamation")

CPython versions tested on:

3.13, 3.12

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions