Update Lib/ftplib.py and Lib/test/test_ftplib to 3.12
#5196
+15
−43
Lib/ftplib.py and Lib/test/test_ftplib to 3.12
#5196