Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

r""" 

Pointed sets 

""" 

from __future__ import absolute_import 

#***************************************************************************** 

# Copyright (C) 2008 David Kohel <kohel@maths.usyd.edu> and 

# William Stein <wstein@math.ucsd.edu> 

# Nicolas M. Thiery <nthiery at users.sf.net> 

# 

# Distributed under the terms of the GNU General Public License (GPL) 

# http://www.gnu.org/licenses/ 

#****************************************************************************** 

 

from sage.categories.category_singleton import Category_singleton 

from .sets_cat import Sets 

 

class PointedSets(Category_singleton): 

""" 

The category of pointed sets. 

 

EXAMPLES:: 

 

sage: PointedSets() 

Category of pointed sets 

 

TESTS:: 

 

sage: TestSuite(PointedSets()).run() 

""" 

#def __call__(self, X, pt): 

# import sage.sets.all 

# return sage.sets.all.Set(X, pt) 

 

def super_categories(self): 

""" 

EXAMPLES:: 

 

sage: PointedSets().super_categories() 

[Category of sets] 

""" 

return [Sets()] # ???