Repository: googleapis/google-api-python-client

Issue:
Fix typo and unnecessary word in docstring
Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

  - Search the issues already opened: https://github.com/googleapis/google-api-python-client/issues
  - Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python

If you are still having issues, please be sure to include as much information as possible:

#### Environment details

  - OS type and version:
  - Python version: `python --version`
  - pip version: `pip --version`
  - `google-api-python-client` version: `pip show google-api-python-client`

#### Steps to reproduce

  1. You can access typo in docstring.
      a https://github.com/googleapis/google-api-python-client/blob/main/googleapiclient/_helpers.py#L45
      b https://github.com/googleapis/google-api-python-client/blob/main/googleapiclient/discovery.py#L331 
  2. You can also access unnecessary word in docstring.
      a https://github.com/googleapis/google-api-python-client/blob/main/googleapiclient/_helpers.py#L97
      b https://github.com/googleapis/google-api-python-client/blob/main/googleapiclient/_helpers.py#L105 

#### Code example

```
- 1.a def fn(pos1, *, kwonly1=None, kwonly1=None): -> def fn(pos1, *, kwonly1=None, kwonly2=None):
- 1.b attemnting -> attempting
- 2.a parameters after the this index must be -> parameters after this index must be
- 2.b TypeError: if a key-word only argument is provided as a positional -> TypeError: if a keyword-only argument is provided as a positional
    - Since keyword-only is already used in this docstring as an adjective, it's better to modify to it for consistency.
```

#### Stack trace
irrelevant

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!



Discussion:

Resolving patch:
diff --git a/googleapiclient/_helpers.py b/googleapiclient/_helpers.py
--- a/googleapiclient/_helpers.py
+++ b/googleapiclient/_helpers.py
@@ -42,7 +42,7 @@ def positional(max_positional_args):
     This decorator makes it easy to support Python 3 style keyword-only
     parameters. For example, in Python 3 it is possible to write::
 
-        def fn(pos1, *, kwonly1=None, kwonly1=None):
+        def fn(pos1, *, kwonly1=None, kwonly2=None):
             ...
 
     All named parameters after ``*`` must be a keyword::
@@ -94,7 +94,7 @@ def my_method(cls, pos1, kwonly1=None):
 
     Args:
         max_positional_arguments: Maximum number of positional arguments. All
-                                  parameters after the this index must be
+                                  parameters after this index must be
                                   keyword only.
 
     Returns:
@@ -102,7 +102,7 @@ def my_method(cls, pos1, kwonly1=None):
         from being used as positional parameters.
 
     Raises:
-        TypeError: if a key-word only argument is provided as a positional
+        TypeError: if a keyword-only argument is provided as a positional
                    parameter, but only if
                    _helpers.positional_parameters_enforcement is set to
                    POSITIONAL_EXCEPTION.
diff --git a/googleapiclient/discovery.py b/googleapiclient/discovery.py
--- a/googleapiclient/discovery.py
+++ b/googleapiclient/discovery.py
@@ -328,7 +328,7 @@ def build(
 
 def _discovery_service_uri_options(discoveryServiceUrl, version):
     """
-    Returns Discovery URIs to be used for attemnting to build the API Resource.
+    Returns Discovery URIs to be used for attempting to build the API Resource.
 
   Args:
     discoveryServiceUrl:


Test patch: