mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue #28139: Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to match the RST documentation.
This commit is contained in:
parent
4a72a7b6c4
commit
6d57fe1c23
8 changed files with 41 additions and 35 deletions
|
|
@ -1657,16 +1657,16 @@ SelectPythonDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
PropSheet_SetWizButtons(GetParent(hwnd),
|
||||
PSWIZB_BACK | PSWIZB_NEXT);
|
||||
/* Get the python directory */
|
||||
ivi = (InstalledVersionInfo *)
|
||||
ivi = (InstalledVersionInfo *)
|
||||
SendDlgItemMessage(hwnd,
|
||||
IDC_VERSIONS_LIST,
|
||||
LB_GETITEMDATA,
|
||||
id,
|
||||
0);
|
||||
hkey_root = ivi->hkey;
|
||||
strcpy(python_dir, ivi->prefix);
|
||||
SetDlgItemText(hwnd, IDC_PATH, python_dir);
|
||||
/* retrieve the python version and pythondll to use */
|
||||
IDC_VERSIONS_LIST,
|
||||
LB_GETITEMDATA,
|
||||
id,
|
||||
0);
|
||||
hkey_root = ivi->hkey;
|
||||
strcpy(python_dir, ivi->prefix);
|
||||
SetDlgItemText(hwnd, IDC_PATH, python_dir);
|
||||
/* retrieve the python version and pythondll to use */
|
||||
result = SendDlgItemMessage(hwnd, IDC_VERSIONS_LIST,
|
||||
LB_GETTEXTLEN, (WPARAM)id, 0);
|
||||
pbuf = (char *)malloc(result + 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue