Merge pull request #262 from pborreli/typos

Fixed typos
This commit is contained in:
Kenneth Reitz
2013-04-01 21:35:06 -07:00
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ krTheme Sphinx Style
==================== ====================
This repository contains sphinx styles Kenneth Reitz uses in most of This repository contains sphinx styles Kenneth Reitz uses in most of
his projects. It is a drivative of Mitsuhiko's themes for Flask and Flask related his projects. It is a derivative of Mitsuhiko's themes for Flask and Flask related
projects. To use this style in your Sphinx documentation, follow projects. To use this style in your Sphinx documentation, follow
this guide: this guide:
+1 -1
View File
@@ -24,7 +24,7 @@ your URLs, or to form-encode your POST data. Keep-alive and HTTP connection
pooling are 100% automatic, powered by urllib3, which is embedded within pooling are 100% automatic, powered by urllib3, which is embedded within
Requests. Requests.
- `Documention <http://docs.python-requests.org/en/latest/index.html>`_ - `Documentation <http://docs.python-requests.org/en/latest/index.html>`_
- `PyPi <http://pypi.python.org/pypi/requests>`_ - `PyPi <http://pypi.python.org/pypi/requests>`_
- `GitHub <https://github.com/kennethreitz/requests>`_ - `GitHub <https://github.com/kennethreitz/requests>`_
+1 -1
View File
@@ -74,7 +74,7 @@ Prerequisite is to install :ref:`Python on Windows <install-windows>`.
$ python setup.py py2exe $ python setup.py py2exe
6. Provide the Microsoft Visual C runtime DLL. Two options: `globally install dll on target machine <https://www.microsoft.com/en-us/download/details.aspx?id=29>`_ or `distribute dll aloneside with .exe <http://www.py2exe.org/index.cgi/Tutorial#Step52>`_. 6. Provide the Microsoft Visual C runtime DLL. Two options: `globally install dll on target machine <https://www.microsoft.com/en-us/download/details.aspx?id=29>`_ or `distribute dll alongside with .exe <http://www.py2exe.org/index.cgi/Tutorial#Step52>`_.
PyInstaller PyInstaller
~~~~~~~~~~~ ~~~~~~~~~~~
+1 -1
View File
@@ -152,7 +152,7 @@ What You Should Do Instead
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
Well. Here the general solution is arguably a bit of a hack. Due to Python's Well. Here the general solution is arguably a bit of a hack. Due to Python's
afformentioned behavior concerning evaluating default arguments to functions aforementioned behavior concerning evaluating default arguments to functions
(see :ref:`default_args`), you can create a closure that binds immediately to (see :ref:`default_args`), you can create a closure that binds immediately to
its arguments by using a default arg like so: its arguments by using a default arg like so:
+1 -1
View File
@@ -456,7 +456,7 @@ list of what is considered false.
if not attr: if not attr:
print 'attr is falsey!' print 'attr is falsey!'
# or, since None is considered false, explicity check for it # or, since None is considered false, explicitly check for it
if attr is None: if attr is None:
print 'attr is None!' print 'attr is None!'