-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use assignments for enums in pillow (#11959)
- Loading branch information
Showing
3 changed files
with
59 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
def i8(c): ... | ||
def o8(i): ... | ||
def i16le(c, o: int = 0): ... | ||
def si16le(c, o: int = 0): ... | ||
def si16be(c, o: int = 0): ... | ||
def i32le(c, o: int = 0): ... | ||
def si32le(c, o: int = 0): ... | ||
def i16be(c, o: int = 0): ... | ||
def i32be(c, o: int = 0): ... | ||
def o16le(i): ... | ||
def o32le(i): ... | ||
def o16be(i): ... | ||
def o32be(i): ... | ||
def i8(c: bytes) -> int: ... | ||
def o8(i: int) -> bytes: ... | ||
def i16le(c: bytes, o: int = 0) -> int: ... | ||
def si16le(c: bytes, o: int = 0) -> int: ... | ||
def si16be(c: bytes, o: int = 0) -> int: ... | ||
def i32le(c: bytes, o: int = 0) -> int: ... | ||
def si32le(c: bytes, o: int = 0) -> int: ... | ||
def i16be(c: bytes, o: int = 0) -> int: ... | ||
def i32be(c: bytes, o: int = 0) -> int: ... | ||
def o16le(i: int) -> bytes: ... | ||
def o32le(i: int) -> bytes: ... | ||
def o16be(i: int) -> bytes: ... | ||
def o32be(i: int) -> bytes: ... |