mhammond / pywin32

Python for Windows (pywin32) Extensions
4.9k stars 783 forks source link

adodbapi: Simplify simple functions by using assignments #2250

Open Avasam opened 2 months ago

Avasam commented 2 months ago

adodbapi version of #2214

Avasam commented 1 month ago

As far as the docstring goes, there's still some value statically for variables, even though it doesn't end up in the runtime __doc__. image

To keep the same __doc__ as the descriptions in https://peps.python.org/pep-0249/#type-objects-and-constructors , then these changes are not valid for PRP 249 functions.