Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python docs #576

Merged
merged 1 commit into from
Feb 7, 2025
Merged

Update python docs #576

merged 1 commit into from
Feb 7, 2025

Conversation

diksipav
Copy link
Contributor

@diksipav diksipav commented Feb 5, 2025

No description provided.

@@ -122,7 +122,7 @@ Below is an example of a web API server running `aiohttp
database='my_service',
user='my_service')
# Configure service routes
app.router.add_route('GET', '/user/{name:\w+}', handle)
Copy link
Contributor Author

@diksipav diksipav Feb 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python interprets \w as an escape sequence, so I removed this regex part
but ofc, can also use the raw string or escape the backslash \\w+

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I think your change makes sense and feels idiomatic.

@diksipav diksipav requested a review from scotttrinh February 5, 2025 15:38
@@ -122,7 +122,7 @@ Below is an example of a web API server running `aiohttp
database='my_service',
user='my_service')
# Configure service routes
app.router.add_route('GET', '/user/{name:\w+}', handle)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I think your change makes sense and feels idiomatic.

@diksipav diksipav merged commit d0eec6c into master Feb 7, 2025
62 checks passed
@diksipav diksipav deleted the fix-docs branch February 7, 2025 14:24
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