Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 45b70b3

Browse filesBrowse files
authored
Merge pull request #804 from serra/fix-build-warnings
Fix build warnings
2 parents db83c8f + 2f90289 commit 45b70b3
Copy full SHA for 45b70b3

File tree

Expand file treeCollapse file tree

10 files changed

+18
-11
lines changed
Filter options
Expand file treeCollapse file tree

10 files changed

+18
-11
lines changed

‎docs/dev/env.rst

Copy file name to clipboardExpand all lines: docs/dev/env.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ over the syntax file included in Vim 6.1.
3838
These plugins supply you with a basic environment for developing in Python.
3939
To get the most out of Vim, you should continually check your code for syntax
4040
errors and PEP8 compliance. Luckily PEP8_ and Pyflakes_ will do this for you.
41-
If your Vim is compiled with :option:`+python` you can also utilize some very
41+
If your Vim is compiled with ``+python`` you can also utilize some very
4242
handy plugins to do these checks from within the editor.
4343

4444
For PEP8 checking and pyflakes, you can install vim-flake8_. Now you can map the
@@ -151,7 +151,7 @@ versions of PyCharm: Professional Edition (Free 30-day trial) and Community
151151
Edition (Apache 2.0 License) with fewer features.
152152

153153
Python (on Visual Studio Code)
154-
-----------------------------
154+
------------------------------
155155

156156
`Python for Visual Studio <https://marketplace.visualstudio.com/items?itemName=donjayamanne.python>`_ is an extension for the `Visual Studio Code IDE <https://code.visualstudio.com>`_.
157157
This is a free, light weight, open source IDE, with support for Mac, Windows, and Linux.

‎docs/dev/virtualenvs.rst

Copy file name to clipboardExpand all lines: docs/dev/virtualenvs.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ where they were placed.
9393
Other Notes
9494
~~~~~~~~~~~
9595

96-
Running ``virtualenv`` with the option :option:`--no-site-packages` will not
96+
Running ``virtualenv`` with the option ``--no-site-packages`` will not
9797
include the packages that are installed globally. This can be useful
9898
for keeping the package list clean in case it needs to be accessed later.
9999
[This is the default behavior for ``virtualenv`` 1.7 and later.]

‎docs/intro/learning.rst

Copy file name to clipboardExpand all lines: docs/intro/learning.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,10 @@ in Python. Magic methods are surrounded by double underscores (i.e. __init__)
209209
and can make classes and objects behave in different and magical ways.
210210

211211
`A Guide to Python's Magic Methods <http://www.rafekettler.com/magicmethods.html>`_
212+
212213
.. note:: The Rafekettler.com is currently down, you can go to their Github version directly. Here you can find a PDF version:
213214
`A Guide to Python's Magic Methods (repo on GitHub) <https://github.com/RafeKettler/magicmethods/blob/master/magicmethods.pdf>`_
215+
214216

215217

216218
For Engineers and Scientists

‎docs/intro/news.rst

Copy file name to clipboardExpand all lines: docs/intro/news.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ delivered in your inbox. Keep Your Python Programming Skills Updated.
4949
`Import Python Weekly Newsletter <http://www.importpython.com/newsletter/>`_
5050

5151
Awesome Python Newsletter
52-
~~~~~~~~~~~~~~~~~~~~
52+
~~~~~~~~~~~~~~~~~~~~~~~~~
5353

5454
A weekly overview of the most popular Python news, articles and packages.
5555

‎docs/scenarios/clibs.rst

Copy file name to clipboardExpand all lines: docs/scenarios/clibs.rst
+5-4Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,26 +96,27 @@ Example: Overloading __repr__
9696
std::string getName();
9797
};
9898

99+
99100
:file:`myclass.i`
100101

101-
.. code-block:: c++
102+
.. code-block:: idl
102103
:linenos:
103104
104105
%include "string.i"
105-
106+
106107
%module myclass
107108
%{
108109
#include <string>
109110
#include "MyClass.h"
110111
%}
111-
112+
112113
%extend MyClass {
113114
std::string __repr__()
114115
{
115116
return $self->getName();
116117
}
117118
}
118-
119+
119120
%include "MyClass.h"
120121
121122

‎docs/scenarios/speed.rst

Copy file name to clipboardExpand all lines: docs/scenarios/speed.rst
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,3 +448,4 @@ Multiprocessing
448448
.. _`threading`: https://docs.python.org/3/library/threading.html
449449
.. _`stackoverflow post`: http://stackoverflow.com/questions/26688424/python-threads-are-printing-at-the-same-time-messing-up-the-text-output
450450
.. _`data race`: https://en.wikipedia.org/wiki/Race_condition
451+
.. _`Lock`: https://docs.python.org/3/library/threading.html#lock-objects

‎docs/scenarios/web.rst

Copy file name to clipboardExpand all lines: docs/scenarios/web.rst
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Context
1010
:::::::
1111

1212

13+
1314
WSGI
1415
----
1516

@@ -457,7 +458,7 @@ frameworks.
457458

458459
An example template in Mako looks like:
459460

460-
.. code-block:: html
461+
.. code-block:: mako
461462
462463
<%inherit file="base.html"/>
463464
<%

‎docs/shipping/freezing.rst

Copy file name to clipboardExpand all lines: docs/shipping/freezing.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ py2app no no yes yes MIT no yes yes
6060
.. note::
6161
All solutions need MS Visual C++ dll to be installed on target machine, except py2app.
6262
Only Pyinstaller makes self-executable exe that bundles the dll when
63-
passing :option:`--onefile` to :file:`Configure.py`.
63+
passing ``--onefile`` to :file:`Configure.py`.
6464

6565
Windows
6666
-------

‎docs/shipping/packaging.rst

Copy file name to clipboardExpand all lines: docs/shipping/packaging.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pypiserver
101101
`Pypiserver <https://pypi.python.org/pypi/pypiserver>`_ is a minimal PyPI
102102
compatible server. It can be used to serve a set of packages to easy_install
103103
or pip. It includes helpful features like an administrative command
104-
(:option:`-U`) which will update all its packages to their latest versions
104+
(``-U``) which will update all its packages to their latest versions
105105
found on PyPI.
106106

107107

‎docs/starting/install3/osx.rst

Copy file name to clipboardExpand all lines: docs/starting/install3/osx.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan: This article should not be added to a toctree for now
2+
13
.. _install3-osx:
24

35
Installing Python 3 on Mac OS X

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.