Skip to content

Commit

Permalink
Add telegram.voice to docs and minor docstring fixes #39
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrotoledo committed Aug 17, 2015
1 parent 6e2881b commit d487014
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/telegram.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Submodules
telegram.user
telegram.userprofilephotos
telegram.video
telegram.voice

Module contents
---------------
Expand Down
7 changes: 7 additions & 0 deletions docs/source/telegram.voice.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
telegram.voice module
=====================

.. automodule:: telegram.voice
:members:
:undoc-members:
:show-inheritance:
3 changes: 2 additions & 1 deletion telegram/inputfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ def is_image(stream):

@staticmethod
def is_inputfile(data):
"""Check if the request is a file request
"""Check if the request is a file request.
Args:
data:
A dict of (str, unicode) key/value pairs
Expand Down

0 comments on commit d487014

Please sign in to comment.