Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/annotationlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ def call_annotate_function(annotate, format, *, owner=None, _is_evaluate=False):
# __getattr__ and __eq__, and return new _Stringifier objects so we can accurately
# reconstruct the source. But in the dictionary that we eventually return, we
# want to return objects with more user-friendly behavior, such as an __eq__
# that returns a bool and an defined set of attributes.
# that returns a bool and a defined set of attributes.
namespace = {**annotate.__builtins__, **annotate.__globals__}
is_class = isinstance(owner, type)
globals = _StringifierDict(
Expand Down
2 changes: 1 addition & 1 deletion Lib/dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ def _get_type_from_annotation(annotation, cls):
# ClassVar. This is a fairly obscure corner case, and the best
# way to fix it would be to eval() the string "CV" with the
# correct global and local namespaces. However that would involve
# a eval() penalty for every single field of every dataclass
# an eval() penalty for every single field of every dataclass
# that's defined. It was judged not worth it.

# String regex that string annotations for ClassVar or InitVar must match.
Expand Down
2 changes: 1 addition & 1 deletion Lib/imaplib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ def _pop(self, timeout, default=('', None)):
# Historical Note:
# The timeout was originally implemented using select() after
# checking for the presence of already-buffered data.
# That allowed timeouts on pipe connetions like IMAP4_stream.
# That allowed timeouts on pipe connections like IMAP4_stream.
# However, it seemed possible that SSL data arriving without any
# IMAP data afterward could cause select() to indicate available
# application data when there was none, leading to a read() call
Expand Down
Loading