Skip to content

Conversation

@wreed4
Copy link
Contributor

@wreed4 wreed4 commented Aug 4, 2016

Also added DEVNULL which was added in 3.3

Also added DEVNULL which was added in 3.3
@wreed4
Copy link
Contributor Author

wreed4 commented Aug 4, 2016

This is in response to #437

from typing import Sequence, Any, Mapping, Callable, Tuple, IO, Optional, Union, List


if sys.version_info >= 3.5:
Copy link
Contributor

Choose a reason for hiding this comment

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

(3, 5)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops. thanks

def __init__(self, args: Union[List, str],
returncode: int,
stdout: Union[str, bytes],
stderr: Union[str, bytes]): ...
Copy link
Contributor

Choose a reason for hiding this comment

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

-> None

Forgot that __init__ should return None and also forgot "self" on a method. Like a dummy.
@matthiaskramm matthiaskramm merged commit 382cb5f into python:master Aug 5, 2016
@wreed4
Copy link
Contributor Author

wreed4 commented Aug 5, 2016

@matthiaskramm When should this be available for use in mypy? I don't know how this repository is released and such.

@wreed4 wreed4 deleted the patch-2 branch August 5, 2016 14:04
@matthiaskramm
Copy link
Contributor

I'm told they update their typeshed submodule once a week or so. So pretty soon I guess?

@gvanrossum
Copy link
Member

gvanrossum commented Aug 5, 2016 via email

hswong3i pushed a commit to alvistack/python-typeshed that referenced this pull request May 25, 2025
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.

3 participants