New submission from Mark Dickinson <dicki...@gmail.com>:

Looking at:

http://docs.python.org/dev/py3k/reference/compound_stmts.html#class-definitions

I see:

classdef    ::=  [decorators] "class" classname [inheritance] ":" suite
inheritance ::=  "(" [expression_list] ")"
classname   ::=  identifier

this seems to be missing the keyword arguments that are now possible in a 
classdef (e.g. for specifying a metaclass).  I believe that *args and **kwargs 
are now also syntactically accepted in a class definition.

----------
assignee: d...@python
components: Documentation
messages: 108917
nosy: d...@python, mark.dickinson
priority: normal
severity: normal
status: open
title: class syntax not fully documented in reference manual
versions: Python 3.1, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9117>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to