Skip to content

Commit

Permalink
added f and b to pack docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Apr 26, 2015
1 parent dbe25d0 commit a612e27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ install:
script:
coverage run --source=bitstruct setup.py test
after_success:
coveralls
coveralls
4 changes: 2 additions & 2 deletions bitstruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def pack(fmt, *args):
:param args: Variable argument list of values to pack.
:returns: Bytearray of packed values.
`fmt` is a string of type-length pairs. There are three
types; 'u', 's' and 'p'. Length is the number of bits to pack
`fmt` is a string of type-length pairs. There are five
types; 'u', 's', 'f', 'b' and 'p'. Length is the number of bits to pack
the value into.
- 'u' -- unsigned integer
Expand Down

0 comments on commit a612e27

Please sign in to comment.