Skip to content

Commit 276643e

Browse files
Docs: both sqlite3 "point examples" now adapt to str (#99823)
1 parent dfc2732 commit 276643e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/sqlite3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2105,7 +2105,7 @@ The following example illustrates the implicit and explicit approaches:
21052105
return f"Point({self.x}, {self.y})"
21062106

21072107
def adapt_point(point):
2108-
return f"{point.x};{point.y}".encode("utf-8")
2108+
return f"{point.x};{point.y}"
21092109

21102110
def convert_point(s):
21112111
x, y = list(map(float, s.split(b";")))

0 commit comments

Comments
 (0)