[Bug] Incorrect escape character in logger documentation example

Status Closed — not planned
Reported on v2.1.140
Maintainer reply None cached
Activity 2 comments · opened May 13, 2026 · closed Jun 12, 2026

Bug Description

Got the below line when reviewing the code:

 Current: Use \logger.info(string) instead of `print(string)`(broken backticks) |Use `logger.info(string)` instead of `print(string)``

Why "\\" here ? nothing to escape i feel here

Environment Info

  • Platform: linux
  • Terminal: pycharm
  • Version: 2.1.140
  • Feedback ID: 7bfb08b8-0a94-4c37-9f67-b5418d24bb75

Errors

[]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗