Skip to content

Commit 511b9b1

Browse files
committed
docs: fix a few simple typos
There are small typos in: - README.md - digitalocean/Domain.py - digitalocean/LoadBalancer.py - digitalocean/VPC.py Fixes: - Should read `domain` rather than `doamin`. - Should read `boolean` rather than `boolen`. - Should read `attributes` rather than `attributues`. - Should read `advantage` rather than `advandtage`. Closes #339
1 parent ec81155 commit 511b9b1

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ droplet.create()
240240

241241
### Creating a Firewall
242242

243-
This example creates a firewall that only accepts inbound tcp traffic on port 80 from a specific load balancer and allows outbout tcp traffic on all ports to all addresses.
243+
This example creates a firewall that only accepts inbound tcp traffic on port 80 from a specific load balancer and allows outbound tcp traffic on all ports to all addresses.
244244

245245
```python
246246
from digitalocean import Firewall, InboundRule, OutboundRule, Destinations, Sources
@@ -375,7 +375,7 @@ print(manager.ratelimit_limit)
375375

376376
## Session customization
377377

378-
You can take advandtage of the [requests](http://docs.python-requests.org/en/master/) library and configure the HTTP client under python-digitalocean.
378+
You can take advantage of the [requests](http://docs.python-requests.org/en/master/) library and configure the HTTP client under python-digitalocean.
379379

380380
### Configure retries in case of connection error
381381

digitalocean/Domain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def create_new_domain_record(self, *args, **kwargs):
8888

8989
def create(self):
9090
"""
91-
Create new doamin
91+
Create new domain
9292
"""
9393
# URL https://api.digitalocean.com/v2/domains
9494
data = {

digitalocean/LoadBalancer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def get_object(cls, api_token, id):
160160

161161
def load(self):
162162
"""
163-
Loads updated attributues for a LoadBalancer object.
163+
Loads updated attributes for a LoadBalancer object.
164164
165165
Requires self.id to be set.
166166
"""

digitalocean/VPC.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class VPC(BaseAPI):
2525
CIDR notation
2626
* urn (str): The uniform resource name (URN) for the VPC
2727
* created_at (str): A string that represents when the VPC was created
28-
* default (bool): A boolen representing whether or not the VPC is the \
28+
* default (bool): A boolean representing whether or not the VPC is the \
2929
user's default VPC for the region
3030
"""
3131
def __init__(self, *args, **kwargs):

0 commit comments

Comments
 (0)