8000 Reformat for optimal line length · python/cpython@ee93519 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee93519

Browse files
bswckAlexWaygood
andcommitted
Reformat for optimal line length
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent 998474d commit ee93519

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Lib/collections/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@ def __ror__(self, other):
360360

361361
_nmtuple_classcell_sentinel = object()
362362

363-
def _namedtuple(typename, field_names, *, rename=False, defaults=None, module=None, classcell=_nmtuple_classcell_sentinel):
363+
def _namedtuple(typename, field_names, *, rename=False, defaults=None, module=None,
364+
classcell=_nmtuple_classcell_sentinel):
364365
# Validate the field names. At the user's option, either generate an error
365366
# message or automatically replace the field name with a valid name.
366367
if isinstance(field_names, str):

Lib/typing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2929,7 +2929,8 @@ def __round__(self, ndigits: int = 0) -> T:
29292929
pass
29302930

29312931

2932-
def _make_nmtuple(name, fields, annotate_func, module, defaults = (), classcell=collections._nmtuple_classcell_sentinel):
2932+
def _make_nmtuple(name, fields, annotate_func, module, defaults = (),
2933+
classcell=collections._nmtuple_classcell_sentinel):
29332934
nm_tpl = collections._namedtuple(name, fields, defaults=defaults,
29342935
module=module, classcell=classcell)
29352936
nm_tpl.__annotate__ = nm_tpl.__new__.__annotate__ = annotate_func

0 commit comments

Comments
 (0)
0