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 sock.py by making bind list creation more readable #3188

Open
wants to merge 1 commit into
base: unwrapped-sockets
Choose a base branch
from

Conversation

tnusser
Copy link

@tnusser tnusser commented Apr 17, 2024

Implementing suggestion by reviewer #3127 (comment) to make code more readable.

Implementing suggestion by reviewer benoitc#3127 (comment) to make code more readable.
Comment on lines +90 to +91
bind_list = [bind for bind in conf.address if not isinstance(bind, int)]
for addr in bind_list:
Copy link
Contributor

@pajod pajod May 21, 2024

Choose a reason for hiding this comment

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

Now it just looks less like its sister list comprehension above. I do not see the improvement.

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.

None yet

2 participants