GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — difflib: diff_bytes accepts bytearray (#9031) · python/typeshed@276a4d7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • stdlib
    • difflib.pyi
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎stdlib/difflib.pyi‎

Copy file name to clipboardExpand all lines: stdlib/difflib.pyi
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ class HtmlDiff:
127127
def restore(delta: Iterable[str], which: int) -> Iterator[str]: ...
128128
def diff_bytes(
129129
dfunc: Callable[[Sequence[str], Sequence[str], str, str, str, str, int, str], Iterator[str]],
130-
a: Sequence[bytes],
131-
b: Sequence[bytes],
132-
fromfile: bytes = ...,
133-
tofile: bytes = ...,
134-
fromfiledate: bytes = ...,
135-
tofiledate: bytes = ...,
130+
a: Iterable[bytes | bytearray],
131+
b: Iterable[bytes | bytearray],
132+
fromfile: bytes | bytearray = ...,
133+
tofile: bytes | bytearray = ...,
134+
fromfiledate: bytes | bytearray = ...,
135+
tofiledate: bytes | bytearray = ...,
136136
n: int = ...,
137-
lineterm: bytes = ...,
137+
lineterm: bytes | bytearray = ...,
138138
) -> Iterator[bytes]: ...

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.