Skip to content

Commit

Permalink
Try to fix README for PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
thombashi committed Aug 12, 2017
1 parent a1fa421 commit 3dd612c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.rst
Expand Up @@ -52,7 +52,7 @@ Usage
Type Check Method
----------------------
:Examples:
.. code:: pycon
.. code-block:: pycon
>>> from typepy.type import Integer
>>> Integer(1).is_type()
Expand All @@ -64,7 +64,7 @@ Type Check Method
Type Validation Method
--------------------------------------------
:Examples:
.. code:: pycon
.. code-block:: pycon
>>> from typepy.type import Integer
>>> Integer(1).validate()
Expand All @@ -82,7 +82,7 @@ Type Conversion Methods
convert method
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Examples:
.. code:: pycon
.. code-block:: pycon
>>> from typepy.type import Integer
>>> from typepy import TypeConversionError
Expand All @@ -98,7 +98,7 @@ convert method
try_convert method
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Examples:
.. code:: pycon
.. code-block:: pycon
>>> from typepy.type import Integer
>>> Integer("1").try_convert()
Expand All @@ -109,7 +109,7 @@ try_convert method
force_convert
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Examples:
.. code:: pycon
.. code-block:: pycon
>>> from typepy.type import Integer
>>> Integer("1").force_convert() # force_convert() forcibly convert the value
Expand Down
10 changes: 5 additions & 5 deletions docs/pages/introduction/usage.txt
@@ -1,7 +1,7 @@
Type Check Method
----------------------
:Examples:
.. code:: pycon
.. code-block:: pycon

>>> from typepy.type import Integer
>>> Integer(1).is_type()
Expand All @@ -13,7 +13,7 @@ Type Check Method
Type Validation Method
--------------------------------------------
:Examples:
.. code:: pycon
.. code-block:: pycon

>>> from typepy.type import Integer
>>> Integer(1).validate()
Expand All @@ -31,7 +31,7 @@ Type Conversion Methods
convert method
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Examples:
.. code:: pycon
.. code-block:: pycon

>>> from typepy.type import Integer
>>> from typepy import TypeConversionError
Expand All @@ -47,7 +47,7 @@ convert method
try_convert method
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Examples:
.. code:: pycon
.. code-block:: pycon

>>> from typepy.type import Integer
>>> Integer("1").try_convert()
Expand All @@ -58,7 +58,7 @@ try_convert method
force_convert
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:Examples:
.. code:: pycon
.. code-block:: pycon

>>> from typepy.type import Integer
>>> Integer("1").force_convert() # force_convert() forcibly convert the value
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -40,7 +40,7 @@

setuptools.setup(
name=MODULE_NAME,
version="0.0.18",
version="0.0.19",
url="https://github.com/thombashi/{:s}".format(MODULE_NAME),

author="Tsuyoshi Hombashi",
Expand Down

0 comments on commit 3dd612c

Please sign in to comment.