#10093: clean up documentation of sage/misc/bitset.pyx
-------------------------------+--------------------------------------------
   Reporter:  mvngu            |       Owner:  mvngu       
       Type:  enhancement      |      Status:  needs_review
   Priority:  major            |   Milestone:  sage-4.6.1  
  Component:  documentation    |    Keywords:              
     Author:  Minh Van Nguyen  |    Upstream:  N/A         
   Reviewer:                   |      Merged:              
Work_issues:                   |  
-------------------------------+--------------------------------------------

Old description:

> As the subject says. This ticket is part of the larger project at #7656.

New description:

 As the subject says. This ticket is part of the larger project at #7656.

 '''Apply:'''

  * [attachment:trac-10093_cleanup-doc-v2.patch]

--

Comment(by mvngu):

 Replying to [comment:4 jason]:
 > Note that this example: {{{sage: FrozenBitset(())}}} does not contain a
 tuple (though it looks like it does...

 I'm not sure what it is that you want me to modify in my patch. Do you
 want me to remove it? Do you want me to make some clarification in the
 document? The purpose of the block within which that example is found is
 to demonstrate different ways of constructing the empty bitset. If you
 want some more clarification, I have added the following examples to my
 patch:

  * `FrozenBitet(tuple())`
  * `FrozenBitet(list())`

 See the ticket description for instruction on which patch to apply.
 [[BR]]

 Also note that in the current implementation of `FrozenBitset`, the
 constructor doesn't accept the empty string. Passing the empty string to
 the constructor of `FrozenBitset` would result in a `MemoryError`. This is
 fixed in both of my patches. My intention is to say that passing the empty
 string to the constructor of `FrozenBitset` would result in the empty
 bitset.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10093#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to