Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee93519

Browse files
bswckAlexWaygood
andcommitted
Reformat for optimal line length
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent998474d commitee93519

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
ifisinstance(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)

[8]ページ先頭

©2009-2025 Movatter.jp