Skip to content

Commit a8080d9

Browse files
committed
Typos: Remove duplicate words
1 parent f974ea7 commit a8080d9

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

docs/src/markdown/about/changelog.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141

4242
- **NEW**: Officially support Python 3.10.
4343
- **NEW**: Add static typing.
44-
- **NEW**: `:has()`, `:is()`, and `:where()` now use use a forgiving selector list. While not as forgiving as CSS
45-
might be, it will forgive such things as empty sets and empty slots due to multiple consecutive commas, leading
46-
commas, or trailing commas. Essentially, these pseudo-classes will match all non-empty selectors and ignore empty
47-
ones. As the scraping environment is different than a browser environment, it was chosen not to aggressively forgive
48-
bad syntax and invalid features to ensure the user is alerted that their program may not perform as expected.
44+
- **NEW**: `:has()`, `:is()`, and `:where()` now use a forgiving selector list. While not as forgiving as CSS might
45+
be, it will forgive such things as empty sets and empty slots due to multiple consecutive commas, leading commas, or
46+
trailing commas. Essentially, these pseudo-classes will match all non-empty selectors and ignore empty ones. As the
47+
scraping environment is different than a browser environment, it was chosen not to aggressively forgive bad syntax
48+
and invalid features to ensure the user is alerted that their program may not perform as expected.
4949
- **NEW**: Add support to output a pretty print format of a compiled `SelectorList` for debug purposes.
5050
- **FIX**: Some small corner cases discovered with static typing.
5151

@@ -86,15 +86,15 @@
8686
- **NEW**: `SelectorSyntaxError` is derived from `Exception` not `SyntaxError`.
8787
- **NEW**: Remove deprecated `comments` and `icomments` from the API.
8888
- **NEW**: Drop support for EOL Python versions (Python 2 and Python < 3.5).
89-
- **FIX**: Corner case with splitting namespace and tag name that that have an escaped `|`.
89+
- **FIX**: Corner case with splitting namespace and tag name that have an escaped `|`.
9090

9191
## 1.9.6
9292

9393
/// note | Last version for Python 2.7
9494
///
9595

9696
- **FIX**: Prune dead code.
97-
- **FIX**: Corner case with splitting namespace and tag name that that have an escaped `|`.
97+
- **FIX**: Corner case with splitting namespace and tag name that have an escaped `|`.
9898

9999
## 1.9.5
100100

docs/src/markdown/about/contributing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ they are asking about. Feel free to share your experience to help others.
4141

4242
## Pull Requests
4343

44-
Pull requests are welcome, and a great way to help fix bugs and add new features. If you you are interested in directly
44+
Pull requests are welcome, and a great way to help fix bugs and add new features. If you are interested in directly
4545
contributing to the code, please check out [Development](./development.md) for more information on the environment and
4646
processes.
4747

docs/src/markdown/about/development.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Usually this can be automated with Tox (assuming it is installed): `tox -e lint`
3333

3434
## Building and Editing Documents
3535

36-
Documents are in Markdown (with with some additional syntax provided by extensions) and are converted to HTML via Python
36+
Documents are in Markdown (with some additional syntax provided by extensions) and are converted to HTML via Python
3737
Markdown. If you would like to build and preview the documentation, you must have these packages installed:
3838

3939
- @Python-Markdown/markdown: the Markdown parser.
@@ -194,7 +194,7 @@ object that may chain other `SelectorLists` objects depending on the complexity
194194
a selector list, then you will get multiple `Selector` objects (one for each compound selector in the list) which in
195195
turn may chain other `Selector` objects.
196196

197-
To view the selector list in in a compiled object for debugging purposes, one can access it via `SoupSieve.selectors`,
197+
To view the selector list in a compiled object for debugging purposes, one can access it via `SoupSieve.selectors`,
198198
though it is recommended to pretty print them:
199199

200200
```pycon3
@@ -358,7 +358,7 @@ class SelectorContains:
358358

359359
Attribute | Description
360360
------------------- | -----------
361-
`text` | A tuple of acceptable text that that an element should match. An element only needs to match at least one.
361+
`text` | A tuple of acceptable text that an element should match. An element only needs to match at least one.
362362

363363
### `SelectorNth`
364364

docs/src/markdown/differences.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ el.select(':scope > .class')
9393

9494
In the case where the element is the document node, `:scope` would simply represent the root element of the document.
9595

96-
So, if you used to to have selectors such as:
96+
So, if you used to have selectors such as:
9797

9898
```py3
9999
soup.select('> div')

docs/src/markdown/selectors/pseudo-classes.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1587,9 +1587,9 @@ not used in the context of nesting is treated as the scoping root per the specif
15871587
`#!py3 sv.select('& > p', soup.div)` is equivalent to `#!py3 sv.select(':scope > p', soup.div)`.
15881588
///
15891589

1590-
`:scope` represents the the element a `match`, `select`, or `filter` is being called on. If we were, for instance,
1591-
using `:scope` on a div (`#!py3 sv.select(':scope > p', soup.div)`) `:scope` would represent **that** div element, and
1592-
no others. If called on the Beautiful Soup object which represents the entire document, it would simply select
1590+
`:scope` represents the element a `match`, `select`, or `filter` is being called on. If we were, for instance, using
1591+
`:scope` on a div (`#!py3 sv.select(':scope > p', soup.div)`) `:scope` would represent **that** div element, and no
1592+
others. If called on the Beautiful Soup object which represents the entire document, it would simply select
15931593
[`:root`](#:root).
15941594

15951595
/// tab | Syntax
@@ -1708,7 +1708,7 @@ which includes all descendants. Using highly specific selectors can reduce how o
17081708
## `:-soup-contains-own()`:material-star:{: title="Custom" data-md-color-primary="green" .icon} {:#:-soup-contains-own}
17091709

17101710
Selects elements that contain the provided text. Text must be found in the target element and not in its descendants. If
1711-
text is broken up with with descendant elements, each text node will be evaluated separately.
1711+
text is broken up with descendant elements, each text node will be evaluated separately.
17121712

17131713
Syntax is the same as [`:-soup-contains()`](#:-soup-contains).
17141714

docs/src/markdown/selectors/unsupported.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Selects active elements.
3131

3232
## `:focus`:material-language-html5:{: title="HTML" data-md-color-primary="orange" .icon} {:#:focus}
3333

34-
Represents an an element that has received focus.
34+
Represents an element that has received focus.
3535

3636
/// tab | Syntax
3737
```css

0 commit comments

Comments
 (0)