Skip to content

Typo in f-string conversion type error #135496

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

Activity

  1. added
    interpreter-core(Objects, Python, Grammar, and Parser dirs)
    3.13only security fixes
    3.14bugs and security fixes
    3.15bugs and security fixes
    on Jun 14, 2025
  2. added a commit that references this issue on Jun 14, 2025
  3. added a commit that references this issue on Jun 14, 2025
  4. added a commit that references this issue on Jun 14, 2025
  5. added a commit that references this issue on Jun 14, 2025
  6. hugovk commented on Jun 14, 2025

    @hugovk
    Member

    Thanks.

  7. efimov-mikhail commented on Jun 14, 2025

    @efimov-mikhail
    Member

    Thanks for the contribution, @MeGaGiGaGon.
    Looking forward for the next one!

  8. added a commit that references this issue on Jun 19, 2025
  9. added a commit that references this issue on Jul 12, 2025
  10. added a commit that references this issue on Aug 4, 2025
  11. added a commit that references this issue on Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13only security fixes3.14bugs and security fixes3.15bugs 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