Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/sfml/graphics/graphics.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ cdef public class Drawable[type PyDrawableType, object PyDrawableObject]:

def __init__(self, *args, **kwargs):
if self.__class__ == Drawable:
raise NotImplementedError('Drawable is abstact')
raise NotImplementedError('Drawable is abstract')

if self.p_drawable is NULL:
self.p_drawable = <sf.Drawable*>new DerivableDrawable(self)
Expand Down Expand Up @@ -1484,7 +1484,7 @@ cdef public class Shape(TransformableDrawable)[type PyShapeType, object PyShapeO

def __init__(self, *args, **kwargs):
if self.__class__ == Shape:
raise NotImplementedError('Shape is abstact')
raise NotImplementedError('Shape is abstract')

def __dealloc__(self):
self.p_drawable = NULL
Expand Down Expand Up @@ -1869,7 +1869,7 @@ cdef public class RenderTarget[type PyRenderTargetType, object PyRenderTargetObj

def __init__(self, *args, **kwargs):
if self.__class__ == RenderTarget:
raise NotImplementedError('RenderTarget is abstact')
raise NotImplementedError('RenderTarget is abstract')

def clear(self, Color color=None):
if not color:
Expand Down
2 changes: 1 addition & 1 deletion src/sfml/network/network.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ cdef class Socket:

def __init__(self):
if self.__class__ == Socket:
raise NotImplementedError('Socket is abstact')
raise NotImplementedError('Socket is abstract')

property blocking:
def __get__(self):
Expand Down