# Str.format for type

**URL:** <https://discuss.python.org/t/str-format-for-type/57778>\
**Category:** Ideas\
**Created:** [July 10, 2024, 4:04am UTC](https://discuss.python.org/t/str-format-for-type/57778 "2024-07-10T04:04:20Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![MegaIng](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/megaing/32/16162_2.png) [@MegaIng](https://discuss.python.org/u/MegaIng)\
**Post date:** [July 10, 2024, 9:06am UTC](https://discuss.python.org/t/str-format-for-type/57778/9 "2024-07-10T09:06:42Z")

</div>

Also see [Enhance type name formatting when raising an exception: add %T format in C, and add type.\_\_fullyqualname\_\_](https://discuss.python.org/t/enhance-type-name-formatting-when-raising-an-exception-add-t-format-in-c-and-add-type-fullyqualname/38129)

---

_[View the full topic](https://discuss.python.org/t/str-format-for-type/57778)._
