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

fix typing for psutil sconn #6669

Merged
merged 1 commit into from
Dec 23, 2021
Merged

fix typing for psutil sconn #6669

merged 1 commit into from
Dec 23, 2021

Conversation

asottile
Copy link
Contributor

@asottile asottile commented Dec 23, 2021

here's some example output:

import psutil

for conn in psutil.net_connections():
    print(conn.raddr, type(conn.raddr))
$ python3 t.py 
() <class 'tuple'>
addr(ip='192.168.1.254', port=67) <class 'psutil._common.addr'>
() <class 'tuple'>
() <class 'tuple'>

@JelleZijlstra JelleZijlstra merged commit f931870 into python:master Dec 23, 2021
@asottile asottile deleted the psutil branch December 23, 2021 04:25
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