[docs] [issue33478] PEP 8 CapWords reference wrong?

Amit Saha report at bugs.python.org
Sat May 12 23:54:59 EDT 2018


New submission from Amit Saha <amitsaha.in at gmail.com>:

PEP 8 suggests class names and type variable names to be in CapWords case. However:

>>> import string
>>> string.capwords('CapWord')
'Capword'

Wondering if this this an oversight or am I misunderstanding something?

----------
assignee: docs at python
components: Documentation
messages: 316446
nosy: Amit.Saha, docs at python
priority: normal
severity: normal
status: open
title: PEP 8 CapWords reference wrong?

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33478>
_______________________________________


More information about the docs mailing list