Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6155859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:30:37+00:00 2026-05-23T20:30:37+00:00

class info: def __init__(self, **kwargs): self._variables = kwargs class waybill(info): def __init__(self, **kwargs): super(waybill,

  • 0
class info:
    def __init__(self, **kwargs):
        self._variables = kwargs


class waybill(info):
    def __init__(self, **kwargs):
        super(waybill, self).__init__(**kwargs)

Error -: module.__init__() takes at most 2 arguments (3 given)

What could probably the reason why this error is flagging? I am using Python 3.2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:30:38+00:00Added an answer on May 23, 2026 at 8:30 pm

    Is info defined in the same file? Or is it info.info from info.py? If you’re importing info, trying changing it to the following:

    from info import info
    

    Additional information: If you simply import info then info is a module, and waybill is subclassing module.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

the code here below: #!/usr/bin/env python import wx class MyForm(wx.Frame): def __init__(self): wx.Frame.__init__(self, None,
Hope this is clear enough: class myParent(): def __init__( self ): self.parentNumber = 5
The code is short and simple: class Contact: all_contacts = [] def __init__(self, name,
I'm trying to make http request with python: class DownloadManager(): def __init__(self, servername): self.conn
import os import urllib import workerpool from datetime import datetime class DownloadJob(workerpool.Job): def __init__(self,
All, A class: class foo(): def __init__(self): self.avar1 = 0 self.bvar2 = 1 self.cvar3
Summary: u = self.instance.user in def save(self, *args, **kwargs): u = self.instance.user u.first_name =
I am having a very odd error occurring in the following: class ServeHandler(blobstore_handlers.BlobstoreDownloadHandler): def
I have code like this: class Debug(object): ... @property def ThreadAwareLogger(self): if not self.logger_instance_for_current_thread:
I have the following in my model: class info(models.Model): add = models.CharField(max_length=255) name =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.