Skip to content

Commit 9ee4b66

Browse files
authored
Merge pull request #123 from timgates42/bugfix_typos
docs: Fix a few typos
2 parents cd69dc4 + 1922c2f commit 9ee4b66

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ A brief guide is available in the [Wiki section](https://github.com/alexis-migno
6666
* [Album Sorter](https://github.com/Scraft/flickr-album-sorter) - Sort flickr albums into date taken order
6767

6868
## Development
69-
This project uses pipenv to create a virtualenv for developement and control dependencies.
69+
This project uses pipenv to create a virtualenv for development and control dependencies.
7070

7171
To run tests you can simply run it with:
7272
```

flickr_api/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
def _get_proxy(name):
2626
"""
2727
return the FlickrMethodProxy object with called 'name' from
28-
the __proxys__ global dictionnary. Creates the objects if needed.
28+
the __proxys__ global dictionary. Creates the objects if needed.
2929
"""
3030
if name in __proxys__ :
3131
return __proxys__[name]

flickr_api/auth.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def tofile(self, filename, include_api_keys=False):
172172
173173
include_api_keys: bool, optional (default False)
174174
Should we include the api keys in the file ? For security issues, it
175-
is recommanded not to save the API keys information in several places
175+
is recommended not to save the API keys information in several places
176176
and the default behaviour is thus not to save the API keys.
177177
"""
178178
if self.access_token is None:
@@ -222,7 +222,7 @@ def load(filename, set_api_keys=False):
222222
If API keys are found in the file, should we use them to set the
223223
API keys globally.
224224
Default is False. The API keys should be stored separately from
225-
authentication information. The recommanded way is to use a
225+
authentication information. The recommended way is to use a
226226
`flickr_keys.py` file. Setting `set_api_keys=True` should be considered
227227
as a conveniency only for single user settings.
228228
"""
@@ -241,7 +241,7 @@ def fromfile(filename, set_api_keys=False):
241241
If API keys are found in the file, should we use them to set the
242242
API keys globally.
243243
Default is False. The API keys should be stored separately from
244-
authentication information. The recommanded way is to use a
244+
authentication information. The recommended way is to use a
245245
`flickr_keys.py` file. Setting `set_api_keys=True` should be considered
246246
as a conveniency only for single user settings.
247247
"""
@@ -316,7 +316,7 @@ def set_auth_handler(auth_handler, set_api_keys=False):
316316
If API keys are found in the file, should we use them to set the
317317
API keys globally.
318318
Default is False. The API keys should be stored separately from
319-
authentication information. The recommanded way is to use a
319+
authentication information. The recommended way is to use a
320320
`flickr_keys.py` file. Setting `set_api_keys=True` should be considered
321321
as a conveniency only for single user settings.
322322
"""

flickr_api/method_call.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def call_api(api_key=None, api_secret=None, auth_handler=None,
7979
is used.
8080
raw:
8181
if True the default xml response from the server is returned. If
82-
False (default) a dictionnary built from the JSON answer is
82+
False (default) a dictionary built from the JSON answer is
8383
returned.
8484
args:
8585
the arguments to pass to the method.
@@ -156,11 +156,11 @@ def call_api(api_key=None, api_secret=None, auth_handler=None,
156156

157157
def clean_content(d):
158158
"""
159-
Cleans out recursively the keys comming from the JSON
160-
dictionnary.
159+
Cleans out recursively the keys coming from the JSON
160+
dictionary.
161161
162162
Namely: "_content" keys are replaces with their associated
163-
values if they are the only key of the dictionnary. Other
163+
values if they are the only key of the dictionary. Other
164164
wise they are replaces by a "text" key with the same value.
165165
"""
166166
if isinstance(d, dict):

flickr_api/objects.py

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

168168
def getInfo(self):
169169
"""
170-
Returns object information as a dictionnary.
170+
Returns object information as a dictionary.
171171
Should be overriden.
172172
"""
173173
return {}

flickr_api/reflection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def static_caller(flickr_method, static=False):
275275
"""
276276
This decorator binds a static method to the flickr method given
277277
by 'flickr_method'.
278-
The wrapped method should return the argument dictionnary
278+
The wrapped method should return the argument dictionary
279279
and a function that format the result of method_call.call_api.
280280
281281
Some method can propagate authentication tokens. For instance a

flickr_api/upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def upload(**args):
8181
description (optional)
8282
A description of the photo. May contain some limited HTML.
8383
tags (optional)
84-
A space-seperated list of tags to apply to the photo.
84+
A space-separated list of tags to apply to the photo.
8585
is_public, is_friend, is_family (optional)
8686
Set to 0 for no, 1 for yes. Specifies who can view the photo.
8787
safety_level (optional)

0 commit comments

Comments
 (0)