Skip to content

Commit e432098

Browse files
hugovkBoboTiG
authored andcommitted
Fix typos
1 parent c8a490f commit e432098

File tree

12 files changed

+15
-15
lines changed

12 files changed

+15
-15
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
General informations:
1+
General information:
22

33
* OS name: _Debian GNU/Linux_
44
* OS version: __sid__
@@ -27,5 +27,5 @@ A description of the issue with optional steps to reproduce.
2727

2828
### Other details
2929

30-
More informations, if you think it is needed.
30+
More information, if you think it is needed.
3131

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# http://read-the-docs.readthedocs.io/en/latest/yaml-config.html
22

3-
# Use that Python version to buil the documentation
3+
# Use that Python version to build the documentation
44
python:
55
version: 3

CHANGELOG

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ History:
1111
- MSS: renamed MSSBase to MSSMixin in base.py
1212
- MSS: refactor ctypes argtype, restype and errcheck setup (fixes #84)
1313
- Linux: ensure resources are freed in grab()
14-
- Windows: avoid unecessary class attributes
14+
- Windows: avoid unnecessary class attributes
1515
- MSS: ensure calls without context manager will not leak resources or document them (fixes #72 and #85)
1616
- MSS: fix Flake8 C408: Unnecessary dict call - rewrite as a literal, in exceptions.py
1717
- MSS: fix Flake8 I100: Import statements are in the wrong order
@@ -120,10 +120,10 @@ History:
120120

121121
1.0.0 2015/04/16
122122
- Python 2.6 to 3.5 ready
123-
- MSS: code purgation and review, no more debug informations
123+
- MSS: code purgation and review, no more debug information
124124
- MSS: fix #5, add a shortcut to take automatically use the proper MSS class
125125
- MSS: few optimizations into save_img()
126-
- Darwin: remove rotation from informations returned by enum_display_monitors()
126+
- Darwin: remove rotation from information returned by enum_display_monitors()
127127
- Linux: fix object has no attribute 'display' into __del__
128128
- Linux: use of XDestroyImage() instead of XFree()
129129
- Linux: optimizations of get_pixels()

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ base.py
116116

117117
darwin.py
118118
---------
119-
- Removed ``_crop_width()`` method. Screen shots are now using the width setted by the OS (rounded to 16).
119+
- Removed ``_crop_width()`` method. Screen shots are now using the width set by the OS (rounded to 16).
120120

121121
exception.py
122122
------------

docs/source/developers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Setup
1111
2. Create you own branch.
1212
3. Be sure to add/update tests and documentation within your patch.
1313

14-
Additionnally, you can install `pre-commit <http://pre-commit.com/>`_ to ensure you are doing things well::
14+
Additionally, you can install `pre-commit <http://pre-commit.com/>`_ to ensure you are doing things well::
1515

1616
$ python -m pip install --upgrade --user pre-commit
1717
$ pre-commit install

docs/source/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Simple naive benchmark to compare with `Reading game frames in Python with OpenC
137137
BGRA to RGB
138138
===========
139139

140-
Differents possiblities to convert raw BGRA values to RGB::
140+
Different possibilities to convert raw BGRA values to RGB::
141141

142142
def mss_rgb(im):
143143
""" Better than Numpy versions, but slower than Pillow. """

docs/source/support.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Support
33
=======
44

5-
Feel free to try MSS on a system we had not tested, and let report us by creating an `issue <htps://github.com/BoboTiG/python-mss/issues>`_.
5+
Feel free to try MSS on a system we had not tested, and let us know by creating an `issue <https://github.com/BoboTiG/python-mss/issues>`_.
66

77
- OS: GNU/Linux, macOS and Windows
88
- Python: 2.7, 3.5, 3.6 and **3.7**

mss/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def monitors(self):
5353
If the monitor has rotation, you have to deal with it
5454
inside this method.
5555
56-
This method has to fill self._monitors with all informations
56+
This method has to fill self._monitors with all information
5757
and use it as a cache:
5858
self._monitors[0] is a dict of all monitors together
5959
self._monitors[N] is a dict of the monitor N (with N > 0)

mss/darwin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __repr__(self):
4747

4848

4949
class CGRect(ctypes.Structure):
50-
""" Structure that contains informations about a rectangle. """
50+
""" Structure that contains information about a rectangle. """
5151

5252
_fields_ = [("origin", CGPoint), ("size", CGSize)]
5353

mss/linux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class XRRScreenResources(ctypes.Structure):
121121

122122

123123
class XRRCrtcInfo(ctypes.Structure):
124-
""" Structure that contains CRTC informations. """
124+
""" Structure that contains CRTC information. """
125125

126126
_fields_ = [
127127
("timestamp", ctypes.c_ulong),

tests/test_macos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_implementation(monkeypatch):
5757
assert original["height"] == modified["width"]
5858
monkeypatch.undo()
5959

60-
# Test bad data retreival
60+
# Test bad data retrieval
6161
monkeypatch.setattr(sct.core, "CGWindowListCreateImage", lambda *args: None)
6262
with pytest.raises(ScreenShotError):
6363
sct.grab(sct.monitors[1])

tests/test_windows.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
def test_implementation(monkeypatch):
17-
# Test bad data retreival
17+
# Test bad data retrieval
1818
with mss.mss() as sct:
1919
monkeypatch.setattr(ctypes.windll.gdi32, "GetDIBits", lambda *args: 0)
2020
with pytest.raises(ScreenShotError):

0 commit comments

Comments
 (0)