On 2021-05-20, Terry Reedy wrote:
> On 5/20/2021 2:53 PM, Grant Edwards wrote:
>> On 2021-05-20, Mats Wichmann wrote:
>>
>>> many fonts squish together repeated underscores in the display so it's
>>> hard to see this visually,
>>
>> Is it just me, or does it seem foolish to use such fonts for
>>
On 5/20/2021 2:53 PM, Grant Edwards wrote:
On 2021-05-20, Mats Wichmann wrote:
On 5/20/21 4:54 AM, Richard Damon wrote:
On 5/20/21 3:24 AM, Peter Otten wrote:
On 20/05/2021 06:00, Richard Damon wrote:
class GedcomHead(Gedcom0Tag):
"""GEDCOM 0 HEAD tag"""
def ___init___(self, *
On 2021-05-20, Mats Wichmann wrote:
> On 5/20/21 4:54 AM, Richard Damon wrote:
>> On 5/20/21 3:24 AM, Peter Otten wrote:
>>> On 20/05/2021 06:00, Richard Damon wrote:
>>>
class GedcomHead(Gedcom0Tag):
"""GEDCOM 0 HEAD tag"""
def ___init___(self, *, parent):
>>>
>>> An __
On 5/20/21 4:54 AM, Richard Damon wrote:
On 5/20/21 3:24 AM, Peter Otten wrote:
On 20/05/2021 06:00, Richard Damon wrote:
class GedcomHead(Gedcom0Tag):
"""GEDCOM 0 HEAD tag"""
def ___init___(self, *, parent):
An __init__ with three underscores; you must me joking ;)
Yes, that i
On 5/20/21 1:58 AM, Chris Angelico wrote:
> On Thu, May 20, 2021 at 2:02 PM Richard Damon
> wrote:
>> Given the following definition of classes, I am getting an unexpected
>> error of :
>>
>> TypeError: __init__() missing 2 required keyword-only arguments:
>> 'idcode' and 'tag'
>>
>> On the call
On 5/20/21 3:24 AM, Peter Otten wrote:
> On 20/05/2021 06:00, Richard Damon wrote:
>
>> class GedcomHead(Gedcom0Tag):
>> """GEDCOM 0 HEAD tag"""
>> def ___init___(self, *, parent):
>
> An __init__ with three underscores; you must me joking ;)
>
Yes, that is what I was missing, too many un
On 20/05/2021 06:00, Richard Damon wrote:
class GedcomHead(Gedcom0Tag):
"""GEDCOM 0 HEAD tag"""
def ___init___(self, *, parent):
An __init__ with three underscores; you must me joking ;)
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, May 20, 2021 at 2:02 PM Richard Damon wrote:
>
> Given the following definition of classes, I am getting an unexpected
> error of :
>
> TypeError: __init__() missing 2 required keyword-only arguments:
> 'idcode' and 'tag'
>
> On the call to create a GedcomHead in the call to GedcomHead()
Given the following definition of classes, I am getting an unexpected
error of :
TypeError: __init__() missing 2 required keyword-only arguments:
'idcode' and 'tag'
On the call to create a GedcomHead in the call to GedcomHead() in
Gedcom0Tag.add()
Code:
class GedcomTag:
"""Represents a Le