Every line of 'python 2d array initialize' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
13 def __init__(self, arr): 14 assert arr is not None 15 self.shape = arr.shape 16 self.array = arr 17 self.size = self.array.size
221 def __init__(self): 222 this = _gribapi_swig.new_doublep() 223 try: self.this.append(this) 224 except: self.this = this