Skip to content

Commit cfd3d86

Browse files
authored
Fix typos, unknown utf8-chars, and capitalize GitHub in docs (#2495)
1 parent 47648c7 commit cfd3d86

38 files changed

+61
-60
lines changed

.github/ISSUE_TEMPLATE/issue_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: New issue
3-
about: Do not open github issues for general support requests
3+
about: Do not open GitHub issues for general support requests
44
---
55

66
<!--

CHANGES.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Coming in build 311, as yet unreleased
2828
Build 310, released 2025/03/16
2929
------------------------------
3030
* Fixed a regression where `win32com.client.DispatchWithEvents` and win32com.client.WithEvents` would throw a `TypeError` on the second call (#2491, @Avasam)
31-
* Fixed regresion causing `win32com.shell.shell` to be missing a number of `IID`s. (#2487, @Avasam)
31+
* Fixed regression causing `win32com.shell.shell` to be missing a number of `IID`s. (#2487, @Avasam)
3232
* As part of the above, Windows 7 is now minimum supported.
3333

3434
Build 309, released 2025/03/09
@@ -357,7 +357,7 @@ Build 302, released 2021-10-11
357357
import win2kras and it fails with 'you must import win32ras first', then it
358358
means an old win2kras.pyd exists, which you should remove.
359359

360-
* github branch 'master' was renamed to 'main'.
360+
* GitHub branch 'master' was renamed to 'main'.
361361

362362
Build 301, released 2021-05-30
363363
------------------------------

Pythonwin/Scintilla/README_pythonwin renamed to Pythonwin/Scintilla/README_pythonwin.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
This is a copy of Scintilla 4.4.6 used for Pythonwin.
22

3-
Scintilla's home is https://www.scintilla.org/
3+
Scintilla's home is <https://www.scintilla.org/>
44

55
Only the sources relevant to Scintilla under Pythonwin are
6-
included (plus the Scintilla Licence.txt and README).
6+
included (plus the Scintilla `License.txt` and `README`).
77
For the full set of Scintilla sources, including its documentation
8-
and companion editor SciTE, see https://www.scintilla.org/ .
8+
and companion editor SciTE, see <https://www.scintilla.org/>.
99

1010
When updating the Scintilla source, also update the copyright year
1111
in Pythonwin/pywin/framework/app.py and regenerate

Pythonwin/Scintilla/lexers/LexBaan.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ void SCI_METHOD LexerBaan::Fold(Sci_PositionU startPos, Sci_Position length, int
906906
// Section Foldings.
907907
// One way of implementing Section Foldings, as there is no END markings of sections.
908908
// first section ends on the previous line of next section.
909-
// Re-written whole folding to accomodate this.
909+
// Re-written whole folding to accommodate this.
910910
if (options.baanFoldSections && atEOL) {
911911
currLineStyle = mainOrSubSectionLine(lineCurrent, styler);
912912
nextLineStyle = mainOrSubSectionLine(lineCurrent + 1, styler);

Pythonwin/dllmain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ extern "C" __declspec(dllexport) int __stdcall DllMainwin32ui(HINSTANCE hInstanc
191191
// insert into resource chain.
192192
pDLL = new CDynLinkLibrary(extensionDLL);
193193

194-
#else // Frozen .EXE that embedds win32ui is initializing
194+
#else // Frozen .EXE that embeds win32ui is initializing
195195
TRACE("win32ui in frozen %s initializing.\n", path);
196196
#endif
197197
}

Pythonwin/pywin/framework/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def OnDropFiles(self, msg):
287287
# except:
288288
# # take copies of the exception values, else other (handled) exceptions may get
289289
# # copied over by the other fns called.
290-
# win32ui.SetStatusText('An exception occured in a windows command handler.')
290+
# win32ui.SetStatusText('An exception occurred in a windows command handler.')
291291
# t, v, tb = sys.exc_info()
292292
# traceback.print_exception(t, v, tb.tb_next)
293293
# try:
@@ -297,7 +297,7 @@ def OnDropFiles(self, msg):
297297

298298
# Command handlers.
299299
def OnFileMRU(self, id, code):
300-
"Called when a File 1-n message is recieved"
300+
"Called when a File 1-n message is received"
301301
fileName = win32ui.GetRecentFileList()[id - win32ui.ID_FILE_MRU_FILE1]
302302
win32ui.GetApp().OpenDocumentFile(fileName)
303303

Pythonwin/pywin/idle/readme.txt renamed to Pythonwin/pywin/idle/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Pythonwin IDLE directory
33

44
This directory contains IDLE extensions used by
55
Pythonwin. The files in this directory that also appear in the main IDLE
6-
directory are intended be indentical to the latest available for IDLE.
6+
directory are intended be identical to the latest available for IDLE.
77

88
If you use IDLE from the CVS sources, then the files should be
99
identical. If you have a Python version installed that is more recent

Pythonwin/win32uimodule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ void DefaultExceptionHandler(int action, const TCHAR *context, const TCHAR *extr
625625
PyObject *type, *value, *traceback;
626626
PyErr_Fetch(&type, &value, &traceback);
627627
if (!type) {
628-
TRACE("DefaultExceptionHandler: no exception occured!\n");
628+
TRACE("DefaultExceptionHandler: no exception occurred!\n");
629629
return;
630630
}
631631
if (action == EHA_PRINT_ERROR) {

Pythonwin/win32win.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ PyObject *PyCWnd::CreateControl(PyObject *self, PyObject *args)
429429
&id, // @pyparm int|id||The child ID for the view
430430
&obPersist, // @pyparm object|obPersist|None|Place holder for future support.
431431
&bStorage, // @pyparm int|bStorage|FALSE|Not used.
432-
&obLicKey)) // @pyparm string|licKey|None|The licence key for the control.
432+
&obLicKey)) // @pyparm string|licKey|None|The license key for the control.
433433
return NULL;
434434

435435
if (!PyWinObject_AsTCHAR(obClass, &szClass, FALSE))

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ python -m pip install --upgrade pywin32
5555
There is a post-install script (see below) which should *not* be run inside virtual environments;
5656
it should only be run in "global" installs.
5757

58-
For unreleased changes, you can download builds made by [github actions](https://github.com/mhammond/pywin32/actions/) -
58+
For unreleased changes, you can download builds made by [GitHub actions](https://github.com/mhammond/pywin32/actions/) -
5959
choose any "workflow" from the `main` branch and download its "artifacts"
6060

6161
### Installing globally
@@ -153,7 +153,7 @@ Since build 307 the release process is based on the artifacts created by Github
153153
section for the next unreleased version. (ie, a new, empty "Coming in build XXX, as yet unreleased"
154154
section)
155155

156-
* Push these changes to github, wait for the actions to complete, then
156+
* Push these changes to GitHub, wait for the actions to complete, then
157157
download the artifacts from that run.
158158

159159
* Upload `.whl` artifacts to pypi - we do this before pushing the tag because they might be
@@ -164,7 +164,7 @@ Since build 307 the release process is based on the artifacts created by Github
164164
* Update setup.py with the new build number + ".1" (eg, 123.1), to ensure
165165
future test builds aren't mistaken for the real release.
166166

167-
* Make sure everything is pushed to github, including the tag (ie,
167+
* Make sure everything is pushed to GitHub, including the tag (ie,
168168
`git push --tags`)
169169

170170
* Send mail to python-win32
@@ -186,12 +186,12 @@ the builds. Build 306 was the last released with this process.
186186

187187
* Commit setup.py (so the new build number is in the repo), create a new git tag
188188

189-
* Upload the .exe installers to github.
189+
* Upload the .exe installers to GitHub.
190190

191191
* Update setup.py with the new build number + ".1" (eg, 123.1), to ensure
192192
future test builds aren't mistaken for the real release.
193193

194-
* Make sure everything is pushed to github, including the tag (ie,
194+
* Make sure everything is pushed to GitHub, including the tag (ie,
195195
`git push --tags`)
196196

197197
* Send mail to python-win32

0 commit comments

Comments
 (0)