Skip to content

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Sep 11, 2024

@JelleZijlstra
Copy link
Member

Do we have a test case like this?

def f():
    "docstring"
    "some random string"

I haven't checked but your code looks like it may end up putting some random string in __doc__.

@iritkatriel
Copy link
Member Author

Do we have a test case like this?

def f():
    "docstring"
    "some random string"

I haven't checked but your code looks like it may end up putting some random string in __doc__.

It would turn some random string into an f-string to prevent that. I agree we should have this test.

@iritkatriel iritkatriel enabled auto-merge (squash) September 11, 2024 16:44
@iritkatriel iritkatriel merged commit e07154f into python:main Sep 11, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants