1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: Fix typo in error message
This typo was found by lintian.
Author: Alexander Sulfrian <alexander@sulfrian.net>
Forwarded: https://github.com/nucleic/atom/pull/246
Applied-Upstream: https://github.com/nucleic/atom/commit/a730f9e410ea099b59473cef42118e2cc7cc056c
---
atom/src/member.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: python3-atom/atom/src/member.cpp
===================================================================
--- python3-atom.orig/atom/src/member.cpp
+++ python3-atom/atom/src/member.cpp
@@ -188,7 +188,7 @@ Member_add_static_observer( Member* self
if( n < 1 )
return cppy::type_error( "add_static_observer() requires at least 1 argument" );
if( n > 2 )
- return cppy::type_error( "add_static_observer() takes at most 2 arugments" );
+ return cppy::type_error( "add_static_observer() takes at most 2 arguments" );
PyObject* observer = PyTuple_GET_ITEM( args, 0 );
if( !PyUnicode_CheckExact( observer ) && !PyCallable_Check( observer ) )
return cppy::type_error( observer, "str or callable" );
|