Skip to content

Commit

Permalink
Fix documentation typo
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Sep 12, 2023
1 parent 3ff006f commit 076aab5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ endif()
if (EXISTS ${CONAN_TOOLCHAIN})
include(${CONAN_TOOLCHAIN})
else()
message(WARNING "The conan_toolchain file could not be found: ${CONAN_TOOLCHAIN}")
message(FATAL_ERROR "The conan_toolchain file could not be found: ${CONAN_TOOLCHAIN}")
endif()

project(apngasm-python VERSION 1.0.7)
project(apngasm-python VERSION 1.0.8)
set(PY_VERSION_SUFFIX "")
set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX})

Expand Down
2 changes: 1 addition & 1 deletion src-python/apngasm_python/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'''apngasm-python'''
__version__ = '1.0.7'
__version__ = '1.0.8'

from .apngasm import APNGAsmBinder
6 changes: 3 additions & 3 deletions src-python/apngasm_python/apngasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def frame_transparency(self, frame: int, new_value: int = None):
is set with this value.
:return: 1D numpy array representation of transparency data of frame (get) or None (set)
:rtype: numpy.adarray or None
:rtype: numpy.ndarray or None
'''
if new_value:
self.apngasm.get_frames()[frame].transparency = new_value
Expand Down Expand Up @@ -420,7 +420,7 @@ def get_frames(self):
Returns the frame vector.
:return: frame vector
:rtype: numpy.adarray
:rtype: numpy.ndarray
'''
return self.apngasm.get_frames()

Expand Down Expand Up @@ -466,7 +466,7 @@ def version(self):
'''
Returns the version of APNGAsm.
'return: version of APNGAsm.
:return: version of APNGAsm.
:rtype: str
'''
return self.apngasm.version()
Expand Down

0 comments on commit 076aab5

Please sign in to comment.